Prompt InputNew
A message box for AI products: a gradient border that turns while focused, example prompts that blur in and out, a box that grows as you type, and a send button that becomes a stop button.
9 components
Forms are where people do the work, and small feedback makes them feel quicker. A liquid toggle switch and a one-time code input, each with full keyboard support and proper labels.
Refine by interaction, access needs or plan.
A message box for AI products: a gradient border that turns while focused, example prompts that blur in and out, a box that grows as you type, and a send button that becomes a stop button.
A switch whose knob stretches like liquid on its way across, then settles.
One-time-code boxes where each digit pops in, with paste and phone autofill built in.
A range slider with give: the value bubble leans as you drag, and pulling past the ends stretches the track like rubber.
A password field with a four-bar strength meter and requirements that tick themselves off as you type.
A drop area whose dashed border flows when a file is dragged over, with a progress bar per file that ends in a drawn tick or a clear error.
Keycaps for a keyboard shortcut that press down when you hold the real keys, for command menu hints, docs and onboarding.
A text field that turns what you type into chips that spring into place. Paste a list to add several, and Backspace twice to remove the last.
Stars that fill with a springy preview on hover and send out a burst of sparks when chosen, with the word for each rating rolling in below.
Most are free to copy, with their full source. Those marked Plus are part of MotionKit Plus (£12 / $15 / €14 a month or £96 / $120 / €112 a year), and their previews are free to explore.
Yes. Each is a single TypeScript file for React with Tailwind CSS v4 and Motion. It starts with "use client" for the Next.js App Router, works in Vite as it is, and runs in Astro as a React island.
Run one shadcn CLI command from the component's page, or copy its source into components/motionkit. Either way the code is yours to change: there's no package to keep updated.
Each component's page publishes an audit covering keyboard use, screen readers, reduced motion and colour contrast, including where it only partly meets a criterion and what to do about it.