BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/figui/radio

Radio

figui/radio
FreeComponent

A radio component

Live preview

live · rendered by the registry
Rendered by figui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://figui.dev/r/radio.json

Source

registry/ui3/ui/radio.tsxfigui.dev/r/radio.json
1import { RadioGroup, Radio as BaseRadio } from "@base-ui/react";
2import { cn } from "@/lib/utils";
3
4function Radio({ className, ...props }: BaseRadio.Root.Props) {
5 return (
6 <BaseRadio.Root
7 className={cn(
8 "size-4 shrink-0 rounded-full border border-black-800 bg-white-1000 outline-none focus-visible:border-blue-500 data-disabled:border-grey-300 data-disabled:bg-grey-100 dark:border-white-1000 dark:bg-grey-800 dark:focus-visible:border-blue-400 dark:data-disabled:border-grey-600 dark:data-disabled:bg-grey-700",
9 className,
10 )}
11 {...props}
12 >
13 <BaseRadio.Indicator className="flex h-full w-full items-center justify-center">
14 <div className="size-2 rounded-full bg-black-800 dark:bg-white-1000" />
15 </BaseRadio.Indicator>
16 </BaseRadio.Root>
17 );
18}
19
20export { Radio, RadioGroup };

Files it writes

  • registry/ui3/ui/radio.tsx

Facts

Registry
figui
Type
registry:component
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-03
Last confirmed
yesterday

Go to the source

Docs on figui figui.dev anxndsgn/FigUI on GitHub Raw registry item This item as JSON

More from figui

All 12 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
ButtonbuttonfiguiComponentsFreeno deps
CheckboxcheckboxfiguiComponentsFreeno deps
InputinputfiguiComponentsFree2 deps · 6 files
MenumenufiguiComponentsFree1 dep
Segmented Controlsegmented-controlfiguiComponentsFree1 dep
SelectselectfiguiComponentsFreeno deps
SeparatorseparatorfiguiComponentsFreeno deps
SlidersliderfiguiComponentsFree2 deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex