Checkbox

A control that allows the user to toggle between checked and not checked.

By clicking this checkbox, you agree to the terms and conditions.

Enable notifications

You can enable or disable notifications at any time.

          
      

Installation

Usage

          
      
          
      

Examples

Default

By clicking this checkbox, you agree to the terms and conditions.

Enable notifications

You can enable or disable notifications at any time.

          
      

With Label

          
      

With Description

By clicking this checkbox, you agree to the terms and conditions.

          
      

Disabled

          
      

Custom Styling

Enable notifications

You can enable or disable notifications at any time.

          
      

Form with Multiple Checkboxes

Sidebar

Select the items you want to display in the sidebar.

Selected: recents, home
          
      

API Reference

Properties

PropertyTypeDefaultDescription
checkedbooleanfalseWhether the checkbox is checked.
indeterminatebooleanfalseWhether the checkbox is in an indeterminate state.
requiredbooleanfalseWhether the checkbox is required.
disabledbooleanfalseWhether the checkbox is disabled.
classstring""Additional CSS classes to apply to the checkbox.

Outputs

OutputTypeDescription
checkedChangebooleanEmitted when the checked state changes.
indeterminateChangebooleanEmitted when the indeterminate state changes.

Built with ❤️ by @immohammadjaved • Source code available on GitHub