Checkbox

PRO

You can edit 8 Components for free. Get premium for unlimited access.

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

Figma

The Checkbox component is used to select one or more elements in a list.

1. Reference

This component inherits props from the Checkbox.

Prop
Type
Default
state
default
active
disabled
default

2. State

You can edit the state with the default, active or disabled parameter.

Image 2.1 : State default

Image 2.2 : State active

Image 2.3 : State disabled

Preview

const DlCheckbox()
Copy

Usage

Add this code example to your project to see how the component works.

const DlCheckbox(
  state: DlCheckboxState.disabled,
)
Copy

API Reference

DlCheckbox is a compact 24x24 checkbox component with toggleable default and active behavior and a non-interactive disabled state, styled entirely with Dynamic Layer tokens.

Prop
Type
Default
State
defaultState
active
disabled
defaultState

Examples

Disabled

const DlCheckbox(
  state: DlCheckboxState.disabled,
)
Copy

Discover more content

You have questions or need help?

E-Mail

You want to try?

Test for free

Save time and money?

Get Pro Version