Simal UI
Components

TabBarIcon

A fixed-size (28px) FontAwesome glyph for a bottom tab bar.

color is required — the tab navigator passes the active/inactive tint.

Import

import { TabBarIcon } from '@simal/ui/nativewindui';

Props

PropValuesDefaultDescription
name"home"Glyph name for the tab. Fixed-size — the tab bar controls the dimensions.
color"#0A0A0A"Passed down by the navigator, which flips it between the active and inactive tint. Set it manually only outside a tab bar.

Examples

Active And Inactive

Active vs inactive is expressed purely through color.

On this page