py_ets

React Aria CheckboxGroup

Component 7

About

React Aria CheckboxGroup component with the original source demo.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds React Aria CheckboxGroup to your project and fits it to your theme.

Code

How React Aria CheckboxGroup is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";
import {ThemeProvider as LibraryDemoThemeProvider} from "next-themes";
import {CheckboxGroup} from "@/components/ui/aria-css-checkboxgroup";
import {Checkbox} from "@/components/ui/aria-css-checkboxgroup-utils/components-ui-Checkbox";
function SourceSpecimen(){return <>
<CheckboxGroup label="Email Notification Preferences">
  <Checkbox
    value="product"
    description="Get notified about new features and improvements">
    Product Updates
  </Checkbox>
  <Checkbox
    value="security"
    description="Important notifications about your account safety">
    Security Alerts
  </Checkbox>
  <Checkbox
    value="marketing"
    description="Receive promotions, offers, and newsletters">
    Marketing Emails
  </Checkbox>
</CheckboxGroup>
</>}
export default function LibraryRegistryPreview(){return <LibraryDemoThemeProvider defaultTheme="light" enableSystem={false}><div data-component-demo data-demo-theme="source" data-theme="light" className="light" style={{background:"var(--background-color, #fff)",color:"var(--text-color, #171717)"}}><div className="relative w-full min-w-0 max-w-5xl min-h-[400px] flex items-center justify-center"><SourceSpecimen/></div></div></LibraryDemoThemeProvider>}

Dependencies

More by py_ets

View all
  • Alert Dialog

    Alert Dialog

    8
  • Command Palette

    Command Palette

    6
  • React Aria DatePicker

    React Aria DatePicker

    5
  • Progress Bar

    Progress Bar

    4
  • React Aria Tree

    React Aria Tree

    3
  • React Aria Switch

    React Aria Switch

    3
  • React Aria ColorArea

    React Aria ColorArea

    2
  • React Aria GridList

    React Aria GridList

    1