Onsen UI CSS Component Toolbar with Segment Last Updated : 28 Jun, 2022 Summarize Comments Improve Suggest changes Share Like Article Like Report 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 with Segment. The toolbar is a horizontal bar with some toolbar items and icons. Onsen UI CSS Component Toolbar with Segment is used to create the segment inside the toolbar with some segment items. Onsen UI CSS Component Toolbar with Segment Classes: segment: This class is used to create the segment.segment__item: This class is used to create the segment item.segment__input: This class is used to create the input.segment__button: This class is used to create the segment button. Syntax: <div class="toolbar"> <div class="toolbar__center"> <div class="segment"> <div class="segment__item"> ... </div> ... </div> </div> </div> Example 1: The following example demonstrates the Onsen UI CSS Component Toolbar with Segment. HTML <!DOCTYPE html> <html> <head> <!-- CDN links of Onsen UI library --> <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"> <script src= "https://unpkg.com/onsenui/js/onsenui.min.js"> </script> </head> <body> <center> <h2 style="color: green;"> GeeksforGeeks </h2> <strong> Onsen UI CSS Component Toolbar with Segment </strong> <br> <br> <div class="toolbar"> <div class="toolbar__center"> <div class="segment" style="width:350px;"> <div class="segment__item"> <div class="segment__button"> Java </div> </div> <div class="segment__item"> <div class="segment__button"> Python </div> </div> </div> </div> </div> </center> </body> </html> Output: Example 2: The following example demonstrates the Onsen UI CSS Component Toolbar with Segment. HTML <!DOCTYPE html> <html> <head> <!-- CDN links of Onsen UI library --> <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"> <script src= "https://unpkg.com/onsenui/js/onsenui.min.js"> </script> </head> <body> <center> <h2 style="color: green;"> GeeksforGeeks </h2> <strong> Onsen UI CSS Component Toolbar with Segment </strong> <br> <br> <div class="toolbar"> <div class="toolbar__center"> <div class="segment" style="width:500px;"> <div class="segment__item"> <input type="radio" class="segment__input"> <div class="segment__button"> C </div> </div> <div class="segment__item"> <input type="radio" class="segment__input"> <div class="segment__button"> C++ </div> </div> <div class="segment__item"> <input type="radio" class="segment__input"> <div class="segment__button"> Java </div> </div> <div class="segment__item"> <input type="radio" class="segment__input"> <div class="segment__button"> Python </div> </div> </div> </div> </div> </center> </body> </html> Output: Reference: https://onsen.io/v2/api/css.html#toolbar-category Comment More infoAdvertise with us Next Article Onsen UI Segment CSS Components H harendra4373 Follow Improve Article Tags : Web Technologies CSS Onsen-UI Onsen-UI CSS-Components Similar Reads Onsen UI CSS Component Material Toolbar with Icons 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 with Icons. The toolbar is a horizontal bar with 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 Onsen UI Segment 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. The segment is used to create a group of related content. Onsen UI CSS Segment is used to create the segment using the be 2 min read Onsen UI CSS Component Toolbar with Outline Button 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 with Outline Button. The toolbar is a horizontal bar with 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 No Shadow 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 No Shadow Toolbar. The toolbar is a horizontal bar with some tool 2 min read Like