Component packs › Keycap › Typing Loader
A small keyboard types your status line, pressing the key for every letter at a human rhythm, slips and backspaces included.
Typing Loader is a loader from Keycap, a component pack with 6 keyboard controls: Controls made of mechanical keyboard keys: real travel, a tactile bump and a switch LED under every cap. Price: $2 for the whole pack.
Built with: key per letter, human typing rhythm, done() presses Enter.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
messages | string[] | Lines it types in turn. | |
doneText | string | "Ready" | Typed by done(). Default "Ready". |
label | string | "Loading" | Accessible name. Default "Loading". |
done(): void: Types the final line, presses Enter and stops.destroy(): voidimport TypingLoader from './TypingLoader';
<TypingLoader />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Buttons.