Onsen UI CSS Component Icon Only Tabbar Last Updated : 19 Jul, 2024 Comments Improve Suggest changes Like Article Like Report Onsen UI is a free open-source HTML5 framework for creating innovative and usable user interfaces (UI). It also simplifies user interface design, letting app developers concentrate on the program's functionality.The Tabbar is a CSS component that allows you to create a navigation bar with tabs for easy navigation. This is commonly used to create a navigation bar for a mobile user interface. The Icon Only Tabbar is a form of the tab bar in which only icons can be added to all of the navigation tabs and there will be no textual title to the tab.Onsen UI CSS Component Icon Only Tabbar Used Classes:tabbar: This class is added to the whole div container that will hold the whole navigation bar.tabbar__item: This class is added to the tabs of the navigation bar.tabbar__button: This class is added to the button elements which can be clicked to change the tabs of the navigation bar. tabbar__icon: This class is added to the icons of the button elements which can be clicked to change the tabs of the navigation bar.Syntax:<div class="tabbar"> <label class="tabbar__item"> <input> <button class="tabbar__button"> <i class="tabbar__icon"></i> </button> </label></div>Example: This code below demonstrates the Icon-only tab bar using the above-mentioned classes. HTML <!DOCTYPE html> <html> <head> <link rel="stylesheet" href= "https://unpkg.com/onsenui/css/onsenui.css"> <link rel="stylesheet" href= "https://unpkg.com/onsenui/css/onsen-css-components.min.css"> <link href= "https://unpkg.com/[email protected]/dist/css/ionicons.min.css" rel="stylesheet"> </head> <body> <div style="margin: 2rem; font-family: Roboto, sans-serif;"> <h1 style="color: green;">GeeksforGeeks</h1> <h3 style="margin-top: -1.5rem;"> Onsen UI CSS Component Icon Only Tabbar </h3> <br /> </div> <div class="tabbar"> <label class="tabbar__item"> <input type="radio" name="tabbar-a" checked="checked"> <button class="tabbar__button"> <i class="tabbar__icon ion-ios-home"></i> </button> </label> <label class="tabbar__item"> <input type="radio" name="tabbar-a"> <button class="tabbar__button"> <i class="tabbar__icon ion-ios-search"></i> </button> </label> <label class="tabbar__item"> <input type="radio" name="tabbar-a"> <button class="tabbar__button"> <i class="tabbar__icon ion-ios-person"></i> </button> </label> </div> </body> </html> Output:Example 2: This code below demonstrates the Icon-only tab bar using the above-mentioned classes. HTML <!DOCTYPE html> <html> <head> <link rel="stylesheet" href= "https://unpkg.com/onsenui/css/onsenui.css"> <link rel="stylesheet" href= "https://unpkg.com/onsenui/css/onsen-css-components.min.css"> <link href= "https://unpkg.com/[email protected]/dist/css/ionicons.min.css" rel="stylesheet"> </head> <body> <div style="margin: 2rem; font-family: Roboto, sans-serif;"> <h1 style="color: green;">GeeksforGeeks</h1> <h3 style="margin-top: -1.5rem;"> Onsen UI CSS Component Icon Only Tabbar </h3> <br /> </div> <div class="tabbar"> <label class="tabbar__item"> <input type="radio" name="tabbar-a"> <button class="tabbar__button"> <i class="tabbar__icon ion-ios-menu"></i> </button> </label> <label class="tabbar__item"> <input type="radio" name="tabbar-a" checked="checked"> <button class="tabbar__button"> <i class="tabbar__icon ion-ios-stats"></i> </button> </label> <label class="tabbar__item"> <input type="radio" name="tabbar-a"> <button class="tabbar__button"> <i class="tabbar__icon ion-ios-link"></i> </button> </label> <label class="tabbar__item"> <input type="radio" name="tabbar-a"> <button class="tabbar__button"> <i class="tabbar__icon ion-ios-home"></i> </button> </label> <label class="tabbar__item"> <input type="radio" name="tabbar-a"> <button class="tabbar__button"> <i class="tabbar__icon ion-ios-search"></i> </button> </label> <label class="tabbar__item"> <input type="radio" name="tabbar-a"> <button class="tabbar__button"> <i class="tabbar__icon ion-ios-person"></i> </button> </label> </div> </body> </html> Output:Reference: https://onsen.io/v2/api/css.html#tabbar-category Comment More infoAdvertise with us Next Article Onsen UI CSS Component Icon Only Tabbar P priyanshuchatterjee01 Follow Improve Article Tags : Web Technologies CSS Onsen-UI Onsen-UI CSS-Components Similar Reads Onsen UI CSS Component Icon Tabbar Onsen UI is a free open-source HTML5 framework for creating innovative and usable user interfaces (UI). It also simplifies user interface design, letting app developers concentrate on the program's functionality.The Tabbar is a CSS component that can be used to build a navigation bar that will have 3 min read Onsen UI CSS Component Material Tabbar (Icon only) Onsen UI CSS is used to create beautiful HTML components. It is one of the most efficient ways to create HTML5 hybrid components compatible with mobile and desktop. Onsen UI CSS Components are pre-built CSS components that may be used to create adaptive and attractive user interface layouts rapidly. 2 min read Onsen UI Tabbar CSS Components 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.Tabbar is used to create the Tabs using Onsen UI classes. In this article, we will discuss how to create Tabbar component 4 min read Onsen UI CSS Component Material Tabbar 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 inte 2 min read Onsen UI CSS Component Top Tabbar 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. Tabbar is used to create the Tabs using Onsen UI classes. Onsen UI CSS Component Top Tabbar is used to create the Tabbar 2 min read Onsen UI CSS Component Material Tabbar (Icon and Label) Onsen UI CSS is used to create beautiful HTML components. It is one of the most efficient ways to create HTML5 hybrid components compatible with mobile and desktop. Onsen UI CSS Components are pre-built CSS components that may be used to create adaptive and attractive user interface layouts rapidly. 3 min read Onsen UI CSS Component Basic Tabbar 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. Tabbar is used to create the Tabs using Onsen UI classes. Onsen UI CSS Component Basic Tabbar is used to create the tabba 2 min read Onsen UI CSS Component Toolbar Item 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. In this article, we will see the Onsen UI CSS Component Toolbar Item. The toolbar is a horizontal bar with some toolbar i 2 min read Onsen UI CSS Component Material Toolbar 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. In this article, we will see the Onsen UI CSS Component Material Toolbar. The toolbar is a horizontal bar with some toolb 2 min read Onsen UI Toolbar CSS Components Onsen UI is an open-source, free tool for building distinctive and functional UIs. Additionally, it speeds up UI creation, letting app developers concentrate on the functionality of the software. Onsen UI is a sizable collection of strong user interface elements created especially for mobile apps. I 4 min read Like