Skip to Content

Wash Under the Line

Area chart on a delft wash where the dark card stops at the line: above it is card, below it the card is cut away so the area below is frosted glass with the wash showing through. Mono figure, tooltip on hover.

Installation

pnpm dlx shadcn@latest add @01orbital/area-chart-06

Make it yours

  • Its words are in COPY at the top of components/blocks/charts/area-chart-06/index.tsx: change them there, not in the markup.
  • START, DAY, DATE_FORMAT, VISITORS, VALUES, SPAN, DOMAIN and CHART_CONFIG, also at the top of the file, hold its lists and settings.
  • Its look comes from Color Wash; each page lists the props that change it.

Built from

npm: recharts@3.8.0. The CLI installs it for you.

Built from these parts. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:

The shadcn parts here are their Base UI versions, and this piece uses Base UI's API. A Radix version you already have won't work with it.

Last updated on