About
Radio group container with field integration for label, description, and status. Astryx by Meta. Source: https://astryx.atmeta.com/components/RadioList
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Astryx Radio List to your project and fits it to your theme.
Code
How Astryx Radio List is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
'use client';
/* Copyright (c) 2026 Meta Platforms, Inc. See MIT notice in astryx-radio-list.tsx. */
import '@/components/ui/astryx-radio-list-utils/astryx-preview.css';
import {useState} from 'react';
import {RadioList, RadioListItem} from '@/components/ui/astryx-radio-list';
function OfficialSample() {
const [value, setValue] = useState('');
return (
<RadioList
label="Notification preference"
value={value}
onChange={setValue}>
<RadioListItem label="Email" value="email" />
<RadioListItem label="SMS" value="sms" />
<RadioListItem label="Push notification" value="push" />
</RadioList>
);
}
export default function Demo() {
return (
<div className="astryx-demo" data-astryx-theme="neutral" data-theme="light">
<div className="astryx-demo-content" data-centered style={{maxWidth: 410}}>
<OfficialSample />
</div>
</div>
);
}







