DETAIL PANEL · DEMO

Sample project review

Keep your context while reviewing the details.

Ready for review
Template route
/spark/foundations
Project
Riverside workspace (fictitious)
Owner
Morgan Lee (fictitious)

Summary

This is an original example. The underlying page stays visible while the panel holds the details. No account, payment or external service is connected.

Review note

Skip to content

Spark foundations ​

Palette ​

TokenValueRole
--sk-bg#252525App canvas
--sk-surface#2c2c2cElevated panels
--sk-ink#f0efebPrimary text
--sk-muted#b8b9b4Secondary text
--sk-border#444444Dividers and input boundaries
--sk-accent#ff953fPrimary action and series
--sk-on#2b1506Text on primary action

Success is mint/green, warning amber, danger rose and information blue. Spark's orange is not an error; Folio's mint action is not an approval. Use a label and icon with status colors.

Typography ​

DM Sans for text and headings, system monospace for technical identifiers. Titles 24–30px, card titles 15px, body 13px, metadata 11px. Amounts 30px with font-variant-numeric: tabular-nums. Keep currency and decimal precision explicit.

Spacing and shape ​

4px base grid. Gaps 8/12/16/24px; card padding 18–24px. 8px default card radius, 6px controls, 999px avatar and switches. Borders are 1px; shadows are reserved for overlays. Avoid glow and decorative gradients.

Motion ​

Spark enters from the side: 14px on the horizontal axis, 280ms. Hover does not lift. It shifts the card 2px and turns the border orange. Tab and carousel changes slide sideways instead of rising. Reduced motion shows the final frame immediately. Tokens are set on html[data-tpl="spark"] (--m-axis: x).

Accessibility ​

Primary button text uses dark ink on the light brand accent. Keyboard focus has a 2px accent outline plus 3px offset. Inputs have associated labels; errors have visible text. Charts have readable captions and SVG labels. Disabled controls do not become invisible. All movement stops with prefers-reduced-motion.

Responsive layout ​

Desktop uses two-column component grids; below 700px it stacks into one column. Tables scroll inside their wrapper rather than overflowing the page. Keep real action targets at least 40px in production compositions; the compact dashboard is a reference layout.

Live examples

Lateral detail drawer

Open a detail panel without losing the page behind it. This shared pattern follows the current template's colors. Fictitious data; actions stay local.