IN-04Inputs
Loader
Animated loading indicator with rotating gradient rings, size variants and customizable title text. Built with React and Tailwind CSS.
no extra packages
PRONatural Date Input and more like it are in Kokonut UI Pro
Installation
Loader is a free, open-source React component in the Kokonut UI Inputs collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/loader.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/loaderUsage
import Loader from "@/components/kokonutui/loader";
export default function Example() {
return <Loader />;
}Props
titlestringDefault "Configuring your account..."subtitlestringDefault "Please wait while we prepare everything for yo…Pass an empty string to show the title alone.
size"sm" | "md" | "lg"Default "md"Also takes every prop of Omit<HTMLAttributes<HTMLDivElement>, "title" | "children">.
Dependencies
| Needs | Version | Comes from |
|---|---|---|
cn from lib/utils.ts | shadcn init | |
| React | 19 | Your app |
| Tailwind CSS | 4 | Your app |
No provider, font or global CSS to set up: the file works as soon as it lands.

