TabsBuilder
- Kind: Class
- Namespace: SkeleKit
Methods
Accessory
Shows a view of the given type in the tab bar's accessory slot.
The view's IsVisible controls the slot. iOS 26 and later.
| Type parameter | Summary |
|---|---|
View TView | The view type to host. |
Returns
TabsBuilder: The builder instance for chaining calls.
Bubble
Puts a destination page in the separated bubble on iOS 26, with a regular tab fallback on earlier versions.
| Parameter | Summary |
|---|---|
string title | The title, shown in the sidebar and read by VoiceOver. |
ImageSource icon | The local icon shown in the bubble. |
| Type parameter | Summary |
|---|---|
ContentView TView | The type of the content view to host in the bubble. |
Returns
TabsBuilder: The builder instance for chaining calls.
Bubble
Puts an action button in the separated bubble instead of search, with a regular tab-shaped action on earlier versions.
The bubble is single: Search and Bubble exclude each other.
| Parameter | Summary |
|---|---|
string title | The title, shown in the sidebar and read by VoiceOver. |
ImageSource icon | The local icon shown in the bubble. |
Action tapped | Runs on tap. |
Returns
TabsBuilder: The builder instance for chaining calls.
Bubble
Puts an action button in the separated bubble, firing a command from a ViewModel resolved from the services.
| Parameter | Summary |
|---|---|
string title | The title, shown in the sidebar and read by VoiceOver. |
ImageSource icon | The local icon shown in the bubble. |
Func<TViewModel, ICommand> command | Picks the command off the ViewModel. |
(optional) object? commandParameter | The parameter passed to the command. |
| Type parameter | Summary |
|---|---|
(class) TViewModel | The ViewModel type carrying the command. |
Returns
TabsBuilder: The builder instance for chaining calls.
LargeTitles
Enables large, expanding navigation titles for the tab pages.
Returns
TabsBuilder: The builder instance for chaining calls.
Minimizes
Lets the tab bar minimize as the content scrolls.
iOS 26 and later.
| Parameter | Summary |
|---|---|
(optional) TabBarMinimize minimize | When the bar minimizes. |
Returns
TabsBuilder: The builder instance for chaining calls.
OnPad
Configures everything iPad: the sidebar, tab placements and iPad-only destinations.
Ignored on iPhone.
| Parameter | Summary |
|---|---|
Action<PadTabsBuilder> configure | Configures the iPad layout. |
Returns
TabsBuilder: The builder instance for chaining calls.
Search
Adds the system search destination. It is a regular tab on iOS 18 and uses the separated search presentation on iOS 26.
| Type parameter | Summary |
|---|---|
ContentView TView | The type of the content view to host in the tab. |
Returns
TabsBuilder: The builder instance for chaining calls.
Tab
Adds a tab page to the navigation structure.
| Parameter | Summary |
|---|---|
string title | The text displayed on the tab bar item. |
ImageSource icon | The local icon shown on the tab. |
| Type parameter | Summary |
|---|---|
ContentView TView | The type of the content view to host in the tab. |
Returns
TabsBuilder: The builder instance for chaining calls.