254
Loading art with a cat loafing on a laptop: its paws knead the keys so they light up while code types out and the progress bar fills, then it stretches and hops off when the job is done.
akacat·loading·progress
Run this in any project set up for the shadcn CLI. It copies the Keyboard Cat source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/keyboard-cat.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { KeyboardCat } from "@/components/keyboard-cat";
export default function Page() {
return <KeyboardCat />;
}A free React illustration in the Characters collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Keyboard Cat source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| name | string | "Mochi" |
| hue | KeyboardCatHue | "orange" |
| progress | number | — |
| label | string | "Installing dependencies" |
| doneLabel | string | "All installed" |
| doneDescription | string | "1,284 packages, no warnings." |
| onDone | () => void | — |
| className | string | — |