DS
Published-package documentation wired to the real DS runtime so the same routes reveal how tenant and engine reshape identical component contracts.
Rottay / modernPublished package
Premium Docs

Design System Showroom

Primary
#FFFFFF
Rottay
Radius
14px
Surface shape
DensitynormalPlatform Flagship
NavigatorLibrary map
8 sections212 routes
Foundations first, then primitives, patterns, structures, and surfaces. Keep this rail legible enough to scan without hunting.
Foundations4 documented routes
4
Tokens
Themes
109
93
24
36
3
1
2
Runtime fingerprintToken readout from the active provider chain.
Live DS
Runtime
PlatformRottay
Rottay / ModernPlatform Flagship
Primary
#FFFFFFSecondary #A0A0A5
Radius
Compact runtime evidence across 3+ token signals.
Published DS package · Pattern Library · Rottay / modernShared route metadata for the active runtime, kept inline so the shell reads like a thin header band.
Palette
#FFFFFFRottay
Chrome
Modernrenderer posture
Radius
14pxsurface shape
Density
normalPlatform Flagship
Patterns/Charts/Sparkline
TemporalRuntime-driven docs

Sparkline

Compact inline SVG trend chart with area fill and end dot
Continuous or scheduled time data where sequence and cadence are essential.
How to read this page
Use the sidebar showroom controls to change engine and tenant, then judge whether the chart still reads clearly without extra editorial staging around it.
TierChartA specialized visualization pattern.
Live preview

Validate the chart in the active showroom runtime

Sidebar engine and tenant drive thisTemporal
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.
ImportPublished package entrypoint, ready to copy.
tsx
1 line
Consumption
Runtime-aware snippet
import { Sparkline } from '@rottay/design-system';
UsagePaste-ready example that shows the base contract first.
tsx
7 lines
Consumption
Runtime-aware snippet
<Sparkline
  data={[12, 18, 15, 22, 28, 25, 30, 35, 32, 38]}
  height={32}
  width={200}
  showEndDot
  fill
/>
API surface

Props

14 rows
Sparkline propsProp contracts stay readable across dark-first and light-first tenants.
14 props1 required13 optional
Fast readStart with required props, then scan defaults before dropping to per-row details.
Contract postureThis reference stays intentionally concise so the primitive contract remains scannable.
data
Required
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Related charts

Continue within Temporal

Browse all
GanttChartTemporal
Horizontal bar timeline for project scheduling and dependencies
CalendarHeatMapTemporal
Daily activity grid showing value intensity over calendar months
Engines
Icons
Primitives93 documented routes
Display
Inputs
Feedback
Layout
Navigation
Overlay
PatternsCurrent section
49
Data
Forms
Visualization
Calendar View
Structures24 documented routes
Headers
Workspace
Shell
Record
Dashboard
Feedback
Surfaces36 documented routes
Admin
Data
Experience
Forms
Operations
Workspace
Verticals3 documented routes
Platform
Bit Hire
Evnto
Playground1 documented routes
Playground
Developers2 documented routes
Developers
14pxxl 18px
Density
normalBorder-light cards
Accent
Badge
roundedtop bar · solid dividers
PatternsVisualizationChartsSparkline

Sparkline

Active profilePlatform Flagship
Runtime postureRottay / modern
D3-backed chart recipes with token-aware styling.
Runtime controls
TenantRottay
EngineModern
FamilyTemporalStart with time pacing.
Best forshowing schedulesCompare against basic charts.

Choose this when

3 items
showing schedules
compressing long histories
mapping activity over time

Review checklist

3 items
time pacing
range readability
cadence recognition

Compare against

2 items
basic charts
flow charts
ImportTSX
Quick copy
UsageTSX
Quick copy
Name
Type
Default
Required
Description
number[]
none
Ordered values rendered as a micro-trend.
color
string
none
Line color.
fill
boolean
false
Fills the area below the line.
fillOpacity
number
0.15
Area-fill opacity.
strokeWidth
number
1.5
Line width.
curve
"sharp" | "smooth" | "step"
"smooth"
Interpolation strategy.
showEndDot
boolean
true
Displays the last point.
showMinMax
boolean
false
Displays minimum and maximum points.
animate
boolean
true
Animates the line on mount.
colorScheme
ChartColorScheme
none
Named palette from the active tenant chart personality.
width
number | string
none
Chart container width; falls back to the family default.
height
number
none
Chart height; falls back to the family default.
className
string
none
Additional class name applied to the chart wrapper.
style
CSSProperties
none
Inline styles applied to the chart wrapper.
dataRequired
number[]none
Ordered values rendered as a micro-trend.
colorOptional
stringnone
Line color.
fillOptional
booleanfalse
Fills the area below the line.
fillOpacityOptional
number0.15
Area-fill opacity.
strokeWidthOptional
number1.5
Line width.
curveOptional
"sharp" | "smooth" | "step""smooth"
Interpolation strategy.
showEndDotOptional
booleantrue
Displays the last point.
showMinMaxOptional
booleanfalse
Displays minimum and maximum points.
animateOptional
booleantrue
Animates the line on mount.
colorSchemeOptional
ChartColorSchemenone
Named palette from the active tenant chart personality.
widthOptional
number | stringnone
Chart container width; falls back to the family default.
heightOptional
numbernone
Chart height; falls back to the family default.
classNameOptional
stringnone
Additional class name applied to the chart wrapper.
styleOptional
CSSPropertiesnone
Inline styles applied to the chart wrapper.
Charts
18
Kanban Board
Map View
Timeline
Tree View
Communication
Feedback
Workflow
Navigation
Commerce
Customization
Identity
Shell