@@ -32,12 +32,12 @@ export default function TabViewExample() {
3232 {
3333 key: ' home' ,
3434 title: ' Home' ,
35- focusedIcon: { sfSymbol: ' house' }
35+ focusedIcon: { sfSymbol: ' house' },
3636 },
3737 {
3838 key: ' settings' ,
3939 title: ' Settings' ,
40- focusedIcon: { sfSymbol: ' gear' }
40+ focusedIcon: { sfSymbol: ' gear' },
4141 },
4242 ]);
4343
@@ -91,6 +91,7 @@ const renderScene = SceneMap({
9191#### ` navigationState `
9292
9393State for the tab view. The state should contain:
94+
9495- ` routes ` : Array of route objects containing ` key ` and ` title ` props
9596- ` index ` : Current selected tab index
9697
@@ -107,13 +108,15 @@ Callback that is called when the tab index changes.
107108#### ` labeled `
108109
109110Whether to show labels in tabs. When ` false ` , only icons will be displayed.
111+
110112- Type: ` boolean `
111113- Default <Badge text =" iOS " type =" info " />: ` true `
112114- Default <Badge text =" Android " type =" info " />: ` false `
113115
114116#### ` sidebarAdaptable ` <Badge text =" iOS " type =" info " />
115117
116118A tab bar style that adapts to each platform:
119+
117120- iPadOS: Top tab bar that can adapt into a sidebar
118121- iOS: Bottom tab bar
119122- macOS/tvOS: Sidebar
@@ -122,38 +125,43 @@ A tab bar style that adapts to each platform:
122125#### ` disablePageAnimations ` <Badge text =" iOS " type =" info " />
123126
124127Whether to disable animations between tabs.
128+
125129- Type: ` boolean `
126130
127131#### ` hapticFeedbackEnabled `
128132
129133Whether to enable haptic feedback on tab press.
134+
130135- Type: ` boolean `
131136- Default: ` false `
132137
133-
134138#### ` tabLabelStyle `
135139
136140Object containing styles for the tab label.
137141Supported properties:
142+
138143- ` fontFamily `
139144- ` fontSize `
140145- ` fontWeight `
141146
142147#### ` scrollEdgeAppearance ` <Badge text =" iOS " type =" info " />
143148
144149Appearance attributes for the tab bar when a scroll view is at the bottom.
150+
145151- Type: ` 'default' | 'opaque' | 'transparent' `
146152
147153#### ` minimizeBehavior ` <Badge text =" iOS 26+ " type =" info " />
148154
149155Controls how the tab bar behaves when content is scrolled.
156+
150157- Type: ` 'automatic' | 'onScrollDown' | 'onScrollUp' | 'never' `
151158- Default: ` undefined ` (uses system default)
152159
153160Options:
161+
154162- ` automatic ` : Platform determines the behavior
155163- ` onScrollDown ` : Tab bar minimizes when scrolling down
156- - ` onScrollUp ` : Tab bar minimizes when scrolling up
164+ - ` onScrollUp ` : Tab bar minimizes when scrolling up
157165- ` never ` : Tab bar never minimizes
158166
159167::: note
@@ -163,6 +171,7 @@ This feature requires iOS 26.0 or later and is only available on iOS. On older v
163171#### ` tabBarActiveTintColor `
164172
165173Color for the active tab.
174+
166175- Type: ` ColorValue `
167176
168177#### ` tabBarInactiveTintColor `
@@ -182,11 +191,13 @@ Supported properties:
182191#### ` translucent ` <Badge text =" iOS " type =" info " />
183192
184193Whether the tab bar is translucent.
194+
185195- Type: ` boolean `
186196
187197#### ` activeIndicatorColor ` <Badge text =" Android " type =" info " />
188198
189199Color of tab indicator.
200+
190201- Type: ` ColorValue `
191202
192203### Route Configuration
@@ -207,21 +218,29 @@ Each route in the `routes` array can have the following properties:
207218#### ` getLazy `
208219
209220Function to determine if a screen should be lazy loaded.
221+
210222- Default: Uses ` route.lazy `
211223
212224#### ` getLabelText `
213225
214226Function to get the label text for a tab.
227+
215228- Default: Uses ` route.title `
216229
217230#### ` getBadge `
218231
219232Function to get the badge text for a tab.
233+
220234- Default: Uses ` route.badge `
221235
236+ ::: warning
237+ To display a badge without text (just a dot), you need to pass a string with a space character (` " " ` ).
238+ :::
239+
222240#### ` getActiveTintColor `
223241
224242Function to get the active tint color for a tab.
243+
225244- Default: Uses ` route.activeTintColor `
226245
227246#### ` getIcon `
@@ -230,7 +249,6 @@ Function to get the icon for a tab.
230249
231250- Default: Uses ` route.focusedIcon ` and ` route.unfocusedIcon `
232251
233-
234252#### ` getHidden `
235253
236254Function to determine if a tab should be hidden.
@@ -240,4 +258,5 @@ Function to determine if a tab should be hidden.
240258#### ` getTestID `
241259
242260Function to get the test ID for a tab item.
261+
243262- Default: Uses ` route.testID `
0 commit comments