Component packs › Scaffold › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | ||
values | number[] | Seven values, Monday first. | |
labels | string[] | ||
unit | string | ||
loading | boolean | ||
delay | number | ||
onLoaded | () => void | ||
theme | "light" | "dark" | ||
autoplay | number | false |
readonly loading: booleandone(): voidreset(): voiddestroy(): voidimport ChartDrawIn from './ChartDrawIn';
<ChartDrawIn />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeleton loaders.