UI3232
47 Accordion48 Alerts49 Avatar50 Badge51 Breadcrumb52 Button53 Button Group54 Calendar55 Card56 Checkbox57 Collapsible58 Combobox59 Data Table60 Date Picker61 Dialog62 Dropdown Menu63 Form64 Input65 Input Mask66 Input OTP67 Pagination68 Popover69 Radio Group70 Select71 Sheet72 Slider73 Sonner74 Switch75 Table76 Tabs77 Textarea78 Tooltip
Blocks1010
202 Marketing hero with product shot203 Marketing feature bento204 Marketing pricing205 Marketing testimonials wall206 Marketing CTA and footer212 Dashboard shell213 Sign in214 Settings page215 Inbox216 AI chat app
Charts2929
01 Animated radial chart99 Live line101 Route trace142 Candlestick chart143 Forecast fan144 State timeline145 Spark table146 Distribution plot147 Violin plot148 Beeswarm149 Slope chart150 Dumbbell chart151 Waterfall chart152 Treemap153 Streamgraph154 Scatter brush155 Correlation matrix156 Sankey flow157 Drawdown chart158 Depth chart159 Calibration plot160 Stacked area chart161 Grouped bar chart162 Donut chart163 Funnel chart164 Cohort retention165 Calendar heatmap166 Bullet chart240 Order book
Interactive66
02 Message dock03 Voice powered orb07 Draggable rope93 Timer113 Elastic frame117 Scene states
AI2424
13 AI voice input103 Agent trace104 Handoff beam105 Lattice orb220 Streaming message221 Reasoning disclosure222 Stream status223 Message branch224 Response feedback225 Prompt composer226 Model selector227 Attachment chips228 Suggested prompts229 Context meter230 Tool call card231 Approval gate232 Diff review233 Artifact panel234 Inline AI edit235 Citation chips236 Retrieval inspector237 Memory viewer238 Response compare239 Cost meter
Galleries66
04 Ruler carousel10 Portfolio gallery32 Hover image gallery106 Torn edge reveal107 Mosaic settle115 Project index
Heroes22
05 Video scroll hero116 Aperture dive
Shaders66
80 Aurora veil88 Kinetic dots90 Silt91 Intaglio92 Phosphor114 Sumi
Tables1420
06 Financial table43 Contacts table44 Leads table45 Resizable table46 Server management89 Periodic table100 Flap ledger120 Sortable table121 Pricing table122 Invoice table123 Leaderboard124 Changelog table125 API reference table126 File tree table127 Timetable128 Shortcuts table129 Spec sheet130 Transactions table131 Spreadsheet grid132 Permissions matrix
Cards2626
11 Video upload card16 Animated card options17 Animated card status list18 Audio upload card19 Bonuses incentives card20 Coach scheduling21 Dashboard card modal22 Event countdown card23 Hover detail card24 News cards25 Onboarding stages26 Prediction market card27 Product reveal card28 Profile hover card29 Project cards102 Solar sky panel182 Plan usage card183 Payment method card184 Integration card185 Metric card186 Shipment card187 Now playing card188 Deployment card189 Team invite card190 Streak card191 Link preview card
Badges11
14 Animated status badge
Controls44
31 Gradient selector95 Adaptive precision slider96 Click wheel97 Velocity ink
Navigation22
94 Radial command ring108 Minimap scrollbar
Utilities33
98 Spring tuner110 Stroke-morph icon119 Glow rules
HUD88
09 HUD frame15 Animated download34 Glitchy 40435 Overlay 236 HUD button37 HUD graph38 HUD status40 Warning graphic
Feedback11
109 Morph loader
Text1212
33 Reveal text111 Scatter rewind112 Plane type133 Glyph morph134 Weight wave135 Decode text136 Magnetic letters137 Slice shift138 Stroke draw type139 Ink bleed text140 Liquid text141 Chromatic text
Components•Streamgraph
Components•Streamgraph

Streamgraph

Layers flowing around a centre line, ordered inside out so the big steady layers sit in the middle and the seasonal ones ride the edges. Each layer keeps one colour from the legend to the tooltip, and past six the smallest fold into a grey Other. Switch between stream, stacked and 100% and every edge glides to its new place. The crosshair reads every layer at once; Enter or a click pins one in focus and greys the rest.

Dependencies

Motion

Copy below cli

npx shadcn add @bjork-ui/streamgraph

How to use

import { Streamgraph } from "@/components/bjork-ui/charts/streamgraph";<Streamgraph  x={["Jan", "Feb", "Mar"]}  series={[    { id: "jazz", label: "Jazz", values: [120, 140, 132] },    { id: "folk", label: "Folk", values: [60, 72, 90] },  ]}  offset="wiggle"/>
PreviousTreemapNextScatter brush
Hip-hopElectronicIndieClassicalPopOther (3)
Listening hours by genre
PeriodAmbientJazzHip-hopElectronicIndieClassicalPopFolk
Jan 2476k h40k h57k h84k h77k h52k h54k h33k h
Feb 2486k h41k h59k h103k h86k h63k h56k h34k h
Mar 2495k h39k h73k h131k h99k h77k h58k h37k h
Apr 2497k h41k h80k h145k h113k h94k h54k h42k h
May 2493k h41k h96k h154k h122k h109k h57k h49k h
Jun 2490k h41k h113k h151k h133k h112k h58k h55k h
Jul 2483k h41k h136k h142k h133k h113k h63k h68k h
Aug 2468k h44k h147k h127k h137k h102k h57k h79k h
Sep 2460k h38k h155k h105k h137k h93k h53k h90k h
Oct 2448k h39k h157k h90k h145k h86k h50k h98k h
Nov 2434k h41k h152k h79k h152k h81k h52k h104k h
Dec 2434k h45k h145k h71k h162k h94k h54k h103k h
Jan 2535k h46k h127k h65k h170k h103k h64k h98k h
Feb 2538k h53k h111k h68k h169k h119k h92k h92k h
Mar 2556k h66k h101k h67k h170k h134k h125k h79k h
Apr 2577k h87k h94k h72k h160k h148k h158k h71k h
May 2594k h130k h87k h73k h141k h150k h183k h67k h
Jun 2590k h171k h87k h75k h119k h142k h199k h69k h
Jul 2573k h182k h94k h76k h93k h126k h192k h85k h
Aug 2551k h161k h105k h74k h74k h109k h170k h109k h
Sep 2529k h132k h120k h75k h51k h100k h137k h129k h
Oct 2514k h113k h131k h74k h37k h76k h98k h138k h
Nov 2514k h107k h146k h75k h35k h62k h71k h130k h
Dec 258k h108k h140k h70k h26k h51k h55k h115k h
Options
Layout