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/checkbox

Package usage

import { Checkbox } from '@tile-ui/react';
 
<Checkbox />

Highlights

  • Indeterminate state support
  • Accessible checkbox role
  • Pairs with Field and Form

Registry dependencies

ItemPurpose
checkboxComponent source and module styles
coreFramework-agnostic logic helpers
stylesShared SCSS tokens and globals

API reference

Checkbox

No custom props.