About
Checkbox group container with field integration for label, description, and status.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Astryx Checkbox List to your project and fits it to your theme.
Code
How Astryx Checkbox List is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
'use client';
import {useState} from 'react';
import {CheckboxList, CheckboxListItem} from '@/components/ui/astryx-checkbox-list';
import {Badge} from '@astryxdesign/core/Badge';
function CheckboxListWithEndContent() {
const [value, setValue] = useState<string[]>(['free']);
return (
<CheckboxList
label="Add-on packages"
value={value}
onChange={setValue}
hasDividers>
<CheckboxListItem
label="Free tier"
value="free"
description="Basic features included"
endContent={<Badge variant="success" label="$0/mo" />}
/>
<CheckboxListItem
label="Pro tier"
value="pro"
description="Advanced analytics and integrations"
endContent={<Badge variant="info" label="$9/mo" />}
/>
<CheckboxListItem
label="Enterprise"
value="enterprise"
description="Custom solutions and dedicated support"
endContent={<Badge variant="purple" label="Custom" />}
/>
</CheckboxList>
);
}
export default function CheckboxListWithEndContentDemo() {
return (
<div
data-astryx-theme="neutral"
data-theme="light"
style={{colorScheme: 'light', display: 'contents'}}>
<CheckboxListWithEndContent />
</div>
);
}














