Component packs › Slate › Chalk Loader

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.

Chalk Loader props

PropTypeDefaultDescription
labelstring
widthnumber200Board width in px. Default 200.
darkboolean

Methods on the ref

Use it in React

import ChalkLoader from './ChalkLoader';

<ChalkLoader />

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

More in Slate

Good for: Checkboxes.