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
uiCheckboxCheckedbooleanfalseWhether the checkbox is checked.
uiCheckboxIndeterminatebooleanfalseWhether the checkbox is in an indeterminate state.
uiCheckboxRequiredbooleanfalseWhether the checkbox is required.
uiCheckboxDisabledbooleanfalseWhether the checkbox is disabled.
classstring""Additional CSS classes to apply to the checkbox.

Outputs

OutputTypeDescription
uiCheckboxCheckedChangebooleanEmitted when the checked state changes.
uiCheckboxIndeterminateChangebooleanEmitted when the indeterminate state changes.

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