Skip to content
  • Android
  • iOS
  • Web

Checkbox

A Checkbox component allows users to select or deselect options. Built on top of heroui-native Checkbox with isSelected/onSelectedChange API.

Live examples

Example.tsx

Attributes

NCheck attributes
NameTypeDefaultDetails
idstringOptional
classNamestringOptionalSupported Tailwind-style utilities, resolved entirely in Rust. See the engine README.
labelClassNamestringOptional
disabledbooleanOptional
checkedbooleanOptional
defaultCheckedbooleanOptional
onChange((value: boolean) => void)Optional
childrenReactNodeOptional
requiredbooleanOptional
labelstringOptional
Engine reference for CheckboxSet up engine components

Tags