Checkbox

Playground

Properties

Shape
Checked
Disabled

Usage

Set checked to true, false or indeterminate. Use indeterminate when some, but not all, items in a group are selected.

'use client';
import { Checkbox } from '@mbsw/ui';

export default function Example() {
  return (
    <label>
      <Checkbox defaultChecked /> {"Selection"}
    </label>
  );
}

The Playground Code tab includes the full example with your current settings. See Installation for the CSS imports.

Composition