Skip to content
  • Android
  • iOS
  • Web

Checkbox

A Checkbox component is a UI element that allows users to select or deselect one or more options from a list. It typically appears as a small square that can be checked (ticked) or unchecked. Checkboxes are often used in forms, settings, or filters where multiple selections are needed, and they provide a clear, binary choice for users.

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