Use this API to customize the tab bar appearance including text colors, background color, and border style.Documentation Index
Fetch the complete documentation index at: https://docs.rebellapp.com/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| color | HexColor | Yes | Default text color on tabs |
| selectedColor | HexColor | Yes | Selected tab text color |
| backgroundColor | HexColor | Yes | Tab bar background color |
| borderStyle | String | Yes | Border color: black or white only |
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure |
| complete | Function | No | Callback that always executes |
Code Example
Basic Usage
Dark Theme
Brand Colors
Use Cases
Theme Switching
Theme Switching
Seasonal Themes
Seasonal Themes
Related APIs
my.hideTabBar
Hide the tab bar
my.switchTab
Navigate to a tab page