Polar Bloom Chart
A Nightingale rose that blooms: petals unfurl from the bud one after another, re-grow on springs when you switch datasets, and the hovered or arrow-key focused petal lifts out with a coloured glow while the centre counts up.
Try it: Hover petals or focus the chart and use arrow keys; switch datasets below.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/polar-bloom-chart.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/polar-bloom-chart. You can also copy the source into components/ui/polar-bloom-chart.tsx (view on GitHub).
Usage
import { PolarBloomChart } from '@/components/ui/polar-bloom-chart'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
series | { id, label, values, unit? }[] | DEFAULT_POLAR_SERIES | Datasets (one value per label). |
labels | string[] | months | Petal labels. |
title | string | 'Seasonality' | Card title. |
hue / size | number | 190 / 300 | Petal gradient start hue and chart size. |
load | () => Promise<PolarSeries[]> | — | Async loader with loading bud and retry on failure. |
onPetalSelect | (label, value) => void | — | Click / Enter on a petal. |
Dependencies
motion
Related Widgets components
- Glow Leaderboard List
Glass pill rows that genuinely compete: scores tick up live, rows re-rank with layout springs, amounts roll and the glowing leader highlight glides to the new #1.
- Seat Scale Pricing
One pricing card that morphs through every plan as you drag the team size: avatars pop in seat by seat, the price rolls on odometer reels, the tier badge and accent cross-fade, unlocked features…
- Podium Stack Leaderboard
Gold, silver and bronze cards stacked like a hand of trophies; promoting someone lifts their card past its rival, re-stacks the pile and morphs the medal finishes.
- Tear-Stub Boarding Pass
A frosted-glass boarding pass with a perforated stub. Drag the stub away and it resists, tears free with a ragged edge and tumbles out of frame while a "Boarded" stamp thumps onto the pass. Lays out…
- KPI Spark Widget
KPI number ticker with mini sparkline that draws on mount and a trend delta pill.
- Paper Fold Accordion
FAQ rows that open like a folded letter: two creased paper leaves swing open in CSS 3D (the top from its hinge, the bottom a beat later from the crease), shadows lift off the paper as it flattens…