Skip to content

Bottom Navigation ​

With Labels

Loading...

<flint-bottom-navigation-action> ​

Bottom Navigation Action: Individual navigation item.

  • Tag: <flint-bottom-navigation-action>
  • Class: FlintBottomNavigationAction

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintBottomNavigationAction } from '@getufy/flint-ui';

Usage ​

html
<flint-bottom-navigation-action></flint-bottom-navigation-action>

Properties ​

PropertyAttributeTypeDefaultDescription
labellabelstring''Label text for the action.
valuevalueunknown—Unique value for this action.
activeactivebooleanfalseIf true, this action is currently selected. (Internal property managed by parent)
showLabelshowLabelbooleantrueControls label visibility. (Internal property managed by parent)

Slots ​

NameDescription
iconIcon element.
(default)Label text.

CSS Parts ​

NameDescription
iconThe icon container.
labelThe label element.

CSS Custom Properties ​

PropertyDefault
--flint-text-color-muted—
--flint-bottom-nav-action-max-widthnone
--flint-hover-color—
--flint-primary-color—
--flint-font-family—
--flint-surface-1—
--flint-shadow-lg—

<flint-bottom-navigation> ​

Bottom Navigation bars allow movement between primary destinations in an app.

  • Tag: <flint-bottom-navigation>
  • Class: FlintBottomNavigation

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintBottomNavigation } from '@getufy/flint-ui';

Usage ​

html
<flint-bottom-navigation></flint-bottom-navigation>

Properties ​

PropertyAttributeTypeDefaultDescription
valuevalueunknown—The value of the currently selected action.
defaultValuedefault-valueunknown | undefined—Initial selected value for uncontrolled usage.
showLabelsshow-labelsbooleanfalseIf true, all labels are shown at all times.

Events ​

EventDetailDescription
flint-bottom-navigation-change&#123; value: number | string &#125;Dispatched when the selected value changes. detail: &#123; value: number | string &#125;

Slots ​

NameDescription
(default)destinations (flint-bottom-navigation-action).

CSS Parts ​

NameDescription
baseThe component's base wrapper element.