Skip to content
Uxelith
Sign in
Prov1.0.0App screens

Dashboard Shell

An application frame: a sidebar that folds to an icon rail, a search that grows into a ⌘K command palette, stats with sparklines, a dense revenue chart with a 7/30/90-day range and recent orders with status badges.

Installs with Uxelith ProHow
Licence
Pro
Packages
3
Updated
9 Oct 2026
Live

Installation

Usage

example.tsx
import { DashboardShell } from "@/components/dashboard-shell"

export default function Page() {
  return <DashboardShell productName="Acme" hotkey />
}

Props

PropTypeDefaultDescription
productNamestring"Acme"Shown in the sidebar.
stats{ label; value; kind?; delta?; invert?; trend? }[]four sample statsKey-number cards. kind is number, currency or percent (a fraction); invert marks numbers where a rise is bad news; trend draws a sparkline.
currencystring"USD"ISO 4217 code for currency stats, the chart and the table.
hotkeybooleanfalseEnable the global ⌘K / Ctrl+K shortcut.
headingLevel1 | 211 when this is the page's top section; 2 when it sits under another title.

Accessibility

  • Landmarks: nav (Main), header and main; the current page has aria-current="page".
  • The folded rail keeps every name (visually hidden) and the fold button is a toggle with aria-pressed.
  • On small screens the sidebar opens over the content from a menu button with aria-expanded; Escape closes it and returns focus.
  • The chart has an accessible data table; the range is a labelled radio group; motion is instant under prefers-reduced-motion.

Changelog

  1. v1.0.0Latest

    First release.

More in App screens

All 3 in App screens
  • App screensPro

    Settings Screen

    An account settings screen: profile, notifications and appearance, a side navigation that follows your place and marks edited sections, and a save bar that counts changes, spins, ticks and shakes on failure.

  • App screensPro

    Sign-in Screen

    A complete sign-in: social providers, email and password, or a one-time code by email — with validation, busy states and errors.