Skip to content
aq-ui
Back to ComponentsComponent

Checkbox

Open-code aq-ui accessible component family for Checkbox.

Preview

This is a live example. Interact with the available controls and use the keyboard to inspect the component's states and behavior.

Loading interactive preview…

Installation

pnpm dlx aq-ui@alpha add checkbox

API reference

Client module

Import the parts you need, then jump to an export for its contract.

View full source

Quick start

"use client"

import { Checkbox } from "@/components/ui/checkbox"

<Checkbox />

Checkbox

constSource L10

Open-code aq-ui accessible component family for Checkbox.

const Checkbox = React.forwardRef<React.ComponentRef<typeof CheckboxPrimitive.Root>, CheckboxPrimitive.Root.Props>(…)
Props type
CheckboxPrimitive.Root.Props
<Checkbox />

Registry dependencies

utils

Package dependencies

@base-ui/react@^1.7.0, lucide-react@^1.31.0

Files

  • components/ui/checkbox.tsx

Source