DashboardShell
Responsive grid with optional rearrange.
npx shadcn add @lopifi/dashboard-shellHow it behaves
What it renders, what it refuses to render, and why. The same paragraphs as the family spec, so the two can’t disagree.
12/8/4-column responsive grid with optional user rearrangement. Widget positions persisted per user. Drag uses FLIP + spring.snap, measured once at drag start.
Equal-height rows via auto-rows-fr keep figure baselines aligned across a row. Misaligned baselines are the most visible failure on a dashboard, and the fix is one line.
More in Dashboard & charts
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section DashboardShell renders in, the calculators behind its figures, and the ledger payloads that feed it.
- DashboardShell, runningThe cards showcase — live, with theme, density, grayscale and reduced-motion switches.
- Dashboard & chartsWe wrap a charting engine (Recharts, or visx where we need more control) instead of building one. What we add is everything a chart library doesn't know about money. Specs for 11 React components: DashboardShell, KpiRow, MoneyChart, MoneyBarChart and 7 more.