Component packs › Slate › Chalk Loader
A stick of chalk draws a circle; a felt eraser wipes it in one pass and it starts again.
Chalk Loader is a loader from Slate, a component pack with 6 chalkboard components: Controls written in chalk on a slate: strokes that draw themselves and rub out to dust. Price: $2 for the whole pack.
Built with: looping draw and wipe, ghost dust, busy status.
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 |
|---|---|---|---|
label | string | ||
width | number | 200 | Board width in px. Default 200. |
dark | boolean |
stop(): voidstart(): voiddestroy(): voidimport ChalkLoader from './ChalkLoader';
<ChalkLoader />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Checkboxes.