"use client" /** * Illustrative previews for the shell UtilityBarSlot catalog entry. * * These are static mockups, not the live `UtilityBarSlot` — the real * component is wired to several app-level contexts (product, Ask Leo, * command menu, shell layout) that aren't available inside the design * system catalog's render tree. Same approach as `banner-previews.tsx`: * illustrate the shape and states without requiring the full provider tree. */ import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar" import { Badge } from "@/components/ui/badge" import { Button } from "@/components/ui/button" function IconAction({ icon, label }: { icon: string; label: string }) { return ( ) } function Divider() { return
} function UtilityCluster({ unreadCount = 3 }: { unreadCount?: number }) { return (Shell layout: Sidebar (classic) — no utility bar; product switcher, Ask Leo, search, settings, and profile stay in the sidebar
Shell layout: Utility bar — product in sidebar (recommended utility mode)
Shell layout: Utility bar — product on bar — full-width row above the sidebar