Component packs › Scaffold › Chart Draw-in

Chart Draw-in

The grey placeholder columns grow or shrink to the real values and take the colour, while the total and labels settle out of their bars.

Chart Draw-in is a chart from Scaffold, a component pack with 6 skeleton loaders: Skeletons that turn into the content instead of fading out. Price: $2 for the whole pack.

Built with: columns morph to values, labels settle, data table for screen readers.

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.

Chart Draw-in props

PropTypeDefaultDescription
titlestring
valuesnumber[]Seven values, Monday first.
labelsstring[]
unitstring
loadingboolean
delaynumber
onLoaded() => void
theme"light" | "dark"
autoplaynumber | false

Methods on the ref

Use it in React

import ChartDrawIn from './ChartDrawIn';

<ChartDrawIn />

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

More in Scaffold

Good for: Skeleton loaders.