Patterns
Dashboard widgets, data visualizations, charts, loading states, notifications, and reusable UI compositions.
Widget System
Configurable dashboard widgets with drag handles, size variants, and multiple content types. Widgets live inside a responsive .widget-grid (1→2→3 columns).
KPI Widgets — Value + trend + sparkline
Bar Chart Widget — CSS-only bar visualization
Status List + Gauge Widgets
Progress + Event List Widgets
Widget Sizes — size-1, size-2, size-3, size-full
<div class="widget-grid">
<div class="widget"> <!-- size-1 (default) -->
<div class="widget size-2"> <!-- spans 2 columns -->
<div class="widget size-full"> <!-- spans entire row -->
</div>
/* Bar chart: .bar-chart > .bar-chart-col > .bar-chart-bar */
/* Donut: .donut-chart with conic-gradient background */
/* Sparkline: <svg class="sparkline green"><polyline.../></svg> */
/* Gauge: .gauge > .gauge-fill + .gauge-mask + .gauge-value */
/* Progress: .progress-bar > .progress-fill.green */
/* Trend: .widget-kpi-trend.positive / .negative */
/* Drag: .widget-drag-handle (grab cursor) */Charts & Data Visualization
Standalone chart components for any data display context.
Bar Chart — Monthly data
Donut Chart — Distribution
5types
Desktop 36%
Mobile 28%
Tablet 18%
API 8%
Other 10%
Progress Bars — Multiple sizes and colors
Upload Progress78%
Memory Usage92%
Disk Space45%
Build Progress63%
Stat Row — Horizontal metrics strip
2,847
Total Users
99.9%
Uptime
142ms
Avg Response
3
Open Alerts
Sparklines — Inline trend indicators
Uptrend
Downtrend
Volatile
Stable
Flow Diagram
1
Request
Client
User initiates action
2
Validate
API Gateway
Auth & permissions
3
Process
Service
Business logic
4
Respond
Client
Result delivered
Rack Diagram
Equipment Rack
U1
Power Unit Type A
U2
Network Switch 48-Port
U3
Gateway Dual Link
U4
Compute Node Primary
U5
Compute Node Secondary
U6
Storage Array RAID
U7
Patch Panel CAT6
U8
Skeleton Loading
Card Skeleton
Table Skeleton
Widget Skeleton
Toast Notifications
Slide-in toasts with colored border and icon
Critical
Warning
Info
Confirm Dialog
Destructive action confirmation
warning
Delete this item?
This action is permanent and cannot be undone. All associated data will be removed from the system.
Empty State
inbox
No data yet
Start by creating your first item.