Free animated React components

7 components. Small, single-file building blocks with the motion already tuned. Install any of them with one command, or copy the .md into your AI tool.

Forms & Inputs

Spring Switch

An accessible toggle switch for React with a spring thumb and a press-down feel. Keyboard and screen reader friendly.

Cards & Display

Like Button

A like button with a heart pop and a particle burst, built with Motion and Tailwind CSS. No extra assets.

Data & Charts

Number Roll

An odometer-style animated number for React. Each digit scrolls to its value, perfect for counters and stats.

Text & Editing

Copy Button

A copy-to-clipboard button for React where the icon morphs into a check and the label rolls to Copied.

Navigation

Dock

A macOS-style dock for React. Icons grow smoothly as the pointer nears them. Bring your own SVG icons.

Forms & Inputs

OTP Input

A one-time code input for React. Paste, autofill and backspace work, with success and error states.

Navigation

Sliding Tabs

Segmented tabs for React with a pill that slides to the active tab. Arrow-key navigation included.