VOOZH about

URL: https://www.geeksforgeeks.org/css/onsen-ui-radio-button-css-components/

โ‡ฑ Onsen UI Radio Button CSS Components - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Onsen UI Radio Button CSS Components

Last Updated : 23 Jul, 2025

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 pre-built CSS components from Onsen UI make it simple to quickly construct flexible and attractive user interface layouts. For mobile developers, Onsen CSS Components is a web-based Topcoat theme roller that makes developing attractive UIs simpler. Onsen UI Radio Button CSS Components help us to create a radio button which is also utilized in a lot of applications especially form groups. 

Onsen UI Radio Button CSS Components:

Syntax:

<label class="radio-button ....">
 <input type="radio" class="radio-button__input" 
 name="r" checked="checked">
 <div class="radio-button__checkmark"></div>
 ...
</label>

Example 1: The code below demonstrates how to implement Onsen UI CSS Component Basic Radio Button.

Output: 

๐Ÿ‘ Image
 

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

Output:

๐Ÿ‘ Image
 

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

Comment