DETAIL PANEL · DEMO

Sample project review

Keep your context while reviewing the details.

Ready for review
Template route
/folio/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

Folio foundations ​

Palette ​

TokenValueRole
--sk-bg#232423App canvas
--sk-surface#2a2c2aElevated panels
--sk-ink#edf0ebPrimary text
--sk-muted#b5bdb5Secondary text
--sk-border#414641Dividers and input boundaries
--sk-accent#a7d9c5Primary action and series
--sk-on#163f35Text 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. 10px default card radius, 6px controls, 999px avatar and switches. Borders are 1px; shadows are reserved for overlays. Avoid glow and decorative gradients.

Motion ​

Folio motion is precise. Surfaces rise 4px over 280ms. Hover lifts 1px. There is no glow and no scale. Focus stays the mint outline. Spark's sideways entrance does not apply here. Reduced motion stops the rise and leaves amounts in their final figures. Tokens are set on html[data-tpl="folio"].

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.