Checkbox
Checkbox offer users quick access to actions related to each other and often performed together.
- Storybook (opens in a new tab)
- Figma library (opens in a new tab)
- Figma spec (opens in a new tab)
npm install @sbks/ds-checkbox
Colors
Section titled “Colors”| Part | Property | Token |
|---|---|---|
| Checked box | Background | --color-button-primary |
| Checked box | Border | --color-border-secondary |
| Checked box | Tick | --color-on-layer-inverse |
| Box with an error | Background | --color-layer-danger |
| Box with an error | Border | --color-border-danger-emphasis |
| Box with an error | Border on hover | --color-border-danger-emphasis |
| Box with an error | Tick | --color-on-layer-danger |
| Partially selected box | Background | --color-layer-info |
| Partially selected box | Border | --color-border-info-emphasis |
| Partially selected box | Dash | --color-on-layer-interactive |