import { RadioGroup, Radio } from "@styple/design-system";
<Flex
css={{
gap: "$md",
alignItems: "center",
}}
>
<RadioGroup defaultValue="1">
<Radio
value="1"
css={{
mr: "$sm",
}}
/>
<Radio value="2" />
</RadioGroup>
</Flex>
See Radix-UI Radio Group (v0.1.5) for details. This only covers styple abstractions.
A styled abstraction of RadioGroup.Item
and RadioGroup.Indicator
.
A styled component wrapper for RadioGroup.Root
.