Premium Docs
Design System Showroom Density normal Platform Flagship
Landing
Playground
Navigator Library map
8 sections 212 routes
Foundations first, then primitives, patterns, structures, and surfaces. Keep this rail legible enough to scan without hunting. Runtime fingerprint Token readout from the active provider chain.
Live DS Runtime
Rottay / Modern Platform Flagship
Primary
#FFFFFF Secondary #A0A0A5
Compact runtime evidence across 3+ token signals.
Basic 2 variants Runtime-driven docs
Live preview
Validate the chart in the active showroom runtime Sidebar engine and tenant drive this Basic
This preview should stand on the chart itself: legibility, token use, spacing, and interaction rhythm all need to hold without extra local storytelling chrome. Loading chart preview... The interactive chart canvas mounts client-side so the docs page stays stable while the preview runtime boots.
Import Published package entrypoint, ready to copy.
Consumption
Runtime-aware snippet
Copy import { PieChart } from '@rottay/design-system';
Usage Paste-ready example that shows the base contract first.
Consumption
Runtime-aware snippet
Copy <PieChart
data={[
{ label: 'Desktop', value: 55 },
{ label: 'Mobile', value: 30 },
{ label: 'Tablet', value: 15 },
]}
height={300}
donut
showPercentage
animate
/>PieChart props Prop contracts stay readable across dark-first and light-first tenants.
22 props 1 required 21 optional
Fast read Start with required props, then scan defaults before dropping to per-row details.
Contract posture This reference stays intentionally concise so the primitive contract remains scannable.
Primitives 93 documented routes
Structures 24 documented routes
Surfaces 36 documented routes
Verticals 3 documented routes
Playground 1 documented routes
Developers 2 documented routes
rounded top bar · solid dividers
Patterns Visualization Charts Pie Chart
Pie Chart Active profile Platform Flagship
Runtime posture Rottay / modern
D3-backed chart recipes with token-aware styling. Tier Chart A specialized visualization pattern.
Family Basic Start with axis clarity.
Best for comparing categories Compare against BarChart when precise comparison matters.
Review checklist 3 items
axis clarity
label density
at-a-glance story
Compare against 2 items
BarChart when precise comparison matters
TreeMap for many categories
DataPoint[]
none
boolean
false
Switches from pie to donut presentation.
number
0.6
Inner-radius ratio used in donut mode.
boolean
true
boolean
false
Displays slice percentages.
boolean
none
Displays the family legend.
string[]
none
Explicit palette; otherwise inherits the active tenant chart personality.
ChartColorScheme
none
Named palette overriding the active tenant chart personality.
ChartSeriesLabelCompactConfig
none
Configures compact rendering but does not activate it.
boolean
false
Activates compact rendering explicitly.
boolean
false
Activates compact rendering below compactBreakpoint.
number
640
Container-width threshold for autoCompact.
number | string
none
Chart container width; falls back to the family default.
number
none
Chart height; falls back to the family default.
string
none
Additional class name applied to the chart wrapper.
CSSProperties
none
Inline styles applied to the chart wrapper.
boolean
false
Displays the governed loading state.
string
none
Accessible chart title displayed above the plot.
string
none
Supporting text displayed below the title.
boolean
none
Overrides the active tenant animation personality.
boolean
true
Measures and follows the container width.
boolean
none
Enables the family tooltip behavior.
data Required
DataPoint[]none
Slice labels and values. donut Optional
booleanfalse
Switches from pie to donut presentation. innerRadius Optional
number0.6
Inner-radius ratio used in donut mode. showLabels Optional
booleantrue
Displays slice labels. showPercentage Optional
booleanfalse
Displays slice percentages. legend Optional
booleannone
Displays the family legend. colors Optional
string[]none
Explicit palette; otherwise inherits the active tenant chart personality. colorScheme Optional
ChartColorSchemenone
Named palette overriding the active tenant chart personality. compact Optional
ChartSeriesLabelCompactConfignone
Configures compact rendering but does not activate it. compactMode Optional
booleanfalse
Activates compact rendering explicitly. autoCompact Optional
booleanfalse
Activates compact rendering below compactBreakpoint. compactBreakpoint Optional
number640
Container-width threshold for autoCompact. width Optional
number | stringnone
Chart container width; falls back to the family default. height Optional
numbernone
Chart height; falls back to the family default. className Optional
stringnone
Additional class name applied to the chart wrapper. style Optional
CSSPropertiesnone
Inline styles applied to the chart wrapper. loading Optional
booleanfalse
Displays the governed loading state. title Optional
stringnone
Accessible chart title displayed above the plot. subtitle Optional
stringnone
Supporting text displayed below the title. animate Optional
booleannone
Overrides the active tenant animation personality. responsive Optional
booleantrue
Measures and follows the container width. tooltip Optional
booleannone
Enables the family tooltip behavior.