Components
Checkbox
An accessible checkbox with indeterminate state.
Use Checkbox for multi-select choices.
import { useState } from 'react';
import { Checkbox } from '@tile-ui/react';
export default function CheckboxDemo() {
const [checked, setChecked] = useState(true);
Registry install
pnpm dlx shadcn@latest add @tile-ui/checkboxPackage usage
import { Checkbox } from '@tile-ui/react';
<Checkbox />Highlights
- Indeterminate state support
- Accessible checkbox role
- Pairs with Field and Form
Registry dependencies
| Item | Purpose |
|---|---|
checkbox | Component source and module styles |
core | Framework-agnostic logic helpers |
styles | Shared SCSS tokens and globals |
API reference
Checkbox
No custom props.