NexoreUI
2.0
InstallationComponentsIconsTemplatesNewNexore MakePricing
Create Project
GitHub
NexoreUI
2.0
Navigation
InstallationComponentsIconsTemplatesNexore MakeCreate Project
InstallationComponents OverviewIcons
Categories (65)
ButtonInputCheckboxSelectSwitchSliderRatingFile Upload
CardAccordionTabsTableStepperScroll AreaNavigationDockData DisplayChartsCommerce
Modal (Dialog)AlertBadgeAvatarTooltipProgressSkeletonLoadersToasterSocial
Aurora Border CardAurora Search PillAI Prompt InputCommandInteractive Code BlockPro AI
Media ShowcaseOverlays & DrawersPro ButtonsPro DashboardsPro E-CommercePro FeedbackPro FormsPro InputsPro LayoutsPro ListsPro MarketingPro NavigationPro TablesSpecial FormsUltra Components
OverviewPro CardsPro ObjectsSoundPulseSilkUnveilNode Flow Graph
NexoreUI v2.0Studio
DocsCheckbox

Checkbox

Accessible checkbox control with animated check mark and state management.

On This Page
Quick ActionsProject StudioNewNexore Make (AI)Source on GitHub

Checkbox

Accessible check control with animated tick icon and state management.

When to use

checkboxMultiple choices from a list or optional standalone opt-in toggles requiring explicit form submission.
switch (alternative)Immediate binary state activation without needing a Save/Submit button.
radio (alternative)Mutually exclusive single selection where exactly one option must be chosen.

Interactive Playground

Live CanvasInteractive
Controls(2)
checked
boolean
Toggle state:

The checked state of the checkbox

disabled
boolean
Toggle state:

Whether the checkbox is interactive or disabled

Generated JSX
Source
import { Checkbox } from "nexoreui"

<Checkbox />

Variants & Examples

Default Checkbox

component.tsx
1

With Label and Description

You agree to our Terms of Service and Privacy Policy.

component.tsx
1

Settings Selection Row

Receive automated alerts whenever a new API key is created.

component.tsx
1

Disabled States

component.tsx
1

API Reference (Props)

PropTypeDefaultDescription
checkedboolean | 'indeterminate'falseControlled state of the checkbox.
defaultCheckedbooleanfalseInitial checked state when uncontrolled.
onCheckedChange(checked: boolean | 'indeterminate') => void—Event handler called when the checked state changes.
disabledbooleanfalseDisables interaction and dims visual contrast.
requiredbooleanfalseHTML form required attribute for native validation.
namestring—Name of the input field for form submission.
valuestring'on'Value attribute of the underlying HTML input.
classNamestring—Additional Tailwind CSS utility classes.

Accessibility (a11y)

  • Keyboard Navigation: Fully focusable using Tab, and toggles on Space.
  • ARIA conformance: Implements Radix UI Checkbox primitive with proper role="checkbox", aria-checked, and automated state synchronization for screen readers.