Skip to content
Click to toggle
Interaction
Click toggle
Duration
1.00 s
Artboard
32 × 32 px
Lottie size
1.8 kB

Radio button

Toggles between two states on click, or switches immediately when reduced motion is preferred. Free under the MIT license.

buttoncheck-circleformradioselect

React

npm install react-useanimations
import UseAnimations from 'react-useanimations';
import radioButton from 'react-useanimations/lib/radioButton';

<UseAnimations animation={radioButton} size={32} />

shadcn/ui

npx shadcn@latest add https://useanimations.com/r/radio-button.json
import { AnimatedRadioButton } from '@/components/animations/radio-button';

<AnimatedRadioButton size={24} />

Files

https://useanimations.com/icons/radio-button.json  # Lottie JSON
https://useanimations.com/icons/radio-button.zip   # Lottie JSON + static SVGs

The animation as Lottie JSON and a ZIP with it and the SVGs. See Files & icons.json.

Static SVG

check-circle.svg