Page cover image

Tab-bar

Displays a element which users can use to navigate between pages or sections of the page.

Creation

<tab-bar></tab-bar>

Attributes

Name
Value
Description

direction

vertical or horizontal

Sets the direction of the tab-bar.

for

PichaiUX ViewPager Element id

Adds a connection between a viewpager and tabbar, when swiping on the viewpager it's changes are shown on the tabbar and vice versa.

Adding pages to the Tab-ba

To add pages to the tab-bar simply put <a> elements in the elements it body.

Last updated

Was this helpful?