VOOZH about

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

โ‡ฑ Onsen UI Checkbox CSS Components - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Onsen UI Checkbox CSS Components

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.

Checkboxes are used for instances where a user may wish to select multiple options, such as in the instance of a โ€œcheck all that applyโ€ question, in forms. In this article, we will discuss Onsen UI Checkbox CSS Components.

Onsen UI Checkbox CSS Components:

  • Checkbox: It is used to create the basic checkbox.
  • No border Checkbox: It is used to create the checkbox without the border.
  • Material Checkbox: It is used to create the material checkbox.

Syntax:

<label class="checkbox ...">
 <input type="checkbox" class="checkbox__input">
 <div class="checkbox__checkmark"></div>
 ...
</label>

Example 1: The following example demonstrates the basic checkbox.

Output:

๐Ÿ‘ Image
 

Example 2: The following example demonstrates the Onsen UI CSS Component No border Checkbox.

Output:

๐Ÿ‘ Image
 

Example 3: The following example demonstrates the Onsen UI CSS Component Material Checkbox.

Output:

๐Ÿ‘ Image
 

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

Comment