What problem does it solve?
Dashboard implementations often drift in layout, loading behavior, error handling, and sheet/side-panel scrolling, causing inconsistent user experiences and extra implementation time. This Skill provides a compact set of templates and conventions to standardize page height handling, loading and error states, and sheet scroll behavior so teams can deliver uniform interfaces faster.
Core Features & Use Cases
- Page height constants: Defines PAGE_HEIGHT_CLASS variants for pages with and without footers and for scrollable containers to ensure consistent full-viewport layouts.
- Loading and error state templates: Prescriptive patterns for page-level loaders and centered error panels with predictable button layout and actions.
- Sheet / sidebar scroll pattern: A flex-based recipe that ensures fixed headers/footers and a single scrollable content area for right-side sheets or sidebars.
- Workflow guidance: Instructions to locate real examples in the codebase using Glob and Grep and a constraint to prefer Phosphor icons over lucide-react.
- Use case: When adding or refactoring an admin dashboard page, apply these patterns to match existing pages and avoid regressions in layout or scrolling behavior.
Quick Start
Create a new dashboard page and apply the ui-patterns guidance to use PAGE_HEIGHT_CLASS constants, standard loading and error templates, and the sheet scroll layout for side panels.