Component packs › Keycap › Typing Loader

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.

Typing Loader props

PropTypeDefaultDescription
messagesstring[]Lines it types in turn.
doneTextstring"Ready"Typed by done(). Default "Ready".
labelstring"Loading"Accessible name. Default "Loading".

Methods on the ref

Use it in React

import TypingLoader from './TypingLoader';

<TypingLoader />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Keycap

Good for: Buttons.