VOOZH about

URL: https://www.geeksforgeeks.org/css/onsen-ui-css-component-material-tabbar/

⇱ Onsen UI CSS Component Material Tabbar - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Onsen UI CSS Component Material Tabbar

Last Updated : 23 Jul, 2025

Onsen UI CSS is used to create beautiful HTML components. It is one of the most efficient ways to create HTML5 hybrid components that are compatible with both mobile and desktop.

Onsen UI CSS Components are pre-built CSS components that may be used to rapidly create adaptive and attractive user interface layouts. Onsen UI CSS Component Material Tabbar is used to create the material tabbar with some tabs using the below classes.

Onsen UI CSS Component Material Tabbar Classes:

  • tabbar--material: This class is used to create the material tabbar.
  • tabbar--material__item: This class is used to create the material tabbar item.
  • tabbar--material__button: This class is used to create the material tabbar button.

Syntax:

<div class="tabbar tabbar--top 
 tabbar--material">
 <label class="tabbar__item 
 tabbar--material__item">
 ...
 </label>
 ...
</div>

Example 1: The following example demonstrates the Onsen UI CSS Component Material Tabbar.


Output:

👁 Image
 

Example 2: The following example demonstrates the Onsen UI CSS Component Material Tabbar.


Output:

👁 Image
 

Reference: https://onsen.io/v2/api/css.html#tabbar-category

Comment