Components
ReUI Radio Group with the first 10 official ReUI examples, preserved from the MIT-licensed source registry.

import {
Frame,
FrameHeader,
FramePanel,
FrameTitle,
} from "@/components/ui/reui-radio-group-utils/frame"
import {
Field,
FieldGroup,
FieldLabel,
FieldTitle,
} from "@/components/ui/reui-radio-group-utils/field"
import {
RadioGroup,
RadioGroupItem,
} from "@/components/ui/reui-radio-group"
import { Separator } from "@/components/ui/reui-radio-group-utils/separator"
export default function Pattern() {
return (
<Frame className="w-full max-w-xs" spacing="sm">
<FrameHeader>
<FrameTitle>Language</FrameTitle>
</FrameHeader>
<FramePanel className="overflow-hidden p-0!">
<RadioGroup defaultValue="en">
<FieldGroup className="gap-0">
<Field>
<FieldLabel className="p-3">
<RadioGroupItem value="en" id="lang-en" />
<FieldTitle>English</FieldTitle>
</FieldLabel>
</Field>
<Separator />
<Field>
<FieldLabel className="p-3">
<RadioGroupItem value="es" id="lang-es" />
<FieldTitle>Spanish</FieldTitle>
</FieldLabel>
</Field>
<Separator />
<Field>
<FieldLabel className="p-3">
<RadioGroupItem value="fr" id="lang-fr" />
<FieldTitle>French</FieldTitle>
</FieldLabel>
</Field>
<Separator />
<Field>
<FieldLabel className="p-3">
<RadioGroupItem value="de" id="lang-de" />
<FieldTitle>German</FieldTitle>
</FieldLabel>
</Field>
</FieldGroup>
</RadioGroup>
</FramePanel>
</Frame>
)
}







