Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/mui/base-ui/llms.txt

Use this file to discover all available pages before exploring further.

Checkbox

A checkbox allows the user to select one or more items from a set.

Import

import * as Checkbox from '@base-ui/react/checkbox';

Checkbox.Root

Represents the checkbox itself.

Props

State

  • checked: boolean - Whether the checkbox is currently ticked
  • disabled: boolean - Whether the component should ignore user interaction
  • readOnly: boolean - Whether the user should be unable to tick or untick the checkbox
  • required: boolean - Whether the user must tick the checkbox before submitting a form
  • indeterminate: boolean - Whether the checkbox is in a mixed state

Checkbox.Indicator

Visual indicator for the checked/indeterminate state.

Props

Build docs developers (and LLMs) love