Tab View
A customisable Tab View component lets you switch between tabs smoothly along with having the option to swipe through the tabs. Tab position can be set to top or bottom as well as per requirements.
Adding a Tab View
- Select the Tab View component from the Components drawer. You can open the list of components by clicking the + button next to Components.
- Select the added component in the Components tree.
- Set the needed width of the Tab View.
- Select the Tab View Item from the Components drawer. In the example below, we're adding three Tab View Item components.
- Select the Tab View Item component and go to the Config tab. You can update the name and add an icon to the tab from here.
- Select the Tab View Item component and then add a child component to it such as View, Image or Image Background.
Configuration Properties
Property | Description |
---|---|
Component name | An optional descriptive name for the component. If the name is not "Tab View", it will appear as a comment above this component in the generated code. |
Tab Bar Position | Position of the tab bar |
Keyboard Dismiss Mode | Keyboard Dismiss Mode |
Swipe Enabled | Whether swiping is enabled or not |
Tab Scroll Enabled | Whether scrolling of tabs is enabled or not |
Active Color | Color of icon and text of active tab |
Inactive Color | Color of icon and text of inactive tab(s) |
Indicator Color | Color of indicator |
Tabs Background Color | Background color of tabs container |
Press Color | Color of ripple when pressed (Android Specific) |
Updated 7 months ago