Metronic Parity
Metronic v9.4.2 is the structural foundation for Ledger UI. All 10 demo layouts are implemented as 8 MetronicLayout variants.
Parity Status: Complete
All layout variants implemented and validated:
| Demo | Variant | Status |
|---|---|---|
| Layout 1 | sidebar | Complete |
| Layout 2 | horizontal | Complete |
| Layout 3 | mini-sidebar | Complete |
| Layout 4 | card-sidebar | Complete |
| Layout 5 | content-sidebar | Complete |
| Layout 6 | card-sidebar (narrow) | Complete |
| Layout 7 | top-only | Complete |
| Layout 8 | card-sidebar (wide) | Complete |
| Layout 9 | mega-menu | Complete |
| Layout 10 | dark-sidebar | Complete |
Parity Priorities
- Layout structure and spacing — sidebar widths, header heights, content margins
- Navigation systems — sidebar menus, mega menus, horizontal navbars, mobile drawers
- Surface hierarchy — header bands, card containers, background colors, borders
- Component density and typography — font sizes, padding, line heights
Implementation Approach
Each layout variant is implemented as a self-contained render path within MetronicLayout:
- Inline CSS — all styles are React inline styles (no Tailwind/CSS modules) for self-containment
- METRONIC color tokens — exact hex values extracted from Metronic
globals.css - Subcomponent architecture —
MetronicHeader,MetronicSidebar,MetronicNavbar, etc. - Prop-driven variants — single
variantprop selects the entire layout structure
Validation
- Gallery app with runtime variant switcher for all 8 layouts
- Storybook with 13 MetronicLayout stories
- Parity reference app (standalone Tailwind Layout-5) for comparison
- 210KB CJS / 186KB ESM bundle for the entire UI package