App-shell Pro 1: icon rail with a second levelPRO
A narrow icon rail opens a second panel of pages, with a collapsible panel, breadcrumbs and a scrolling page area. Becomes a top bar on phones.
Installation
Once per project: add the Pro registry and your licence key.
components.json{ "registries": { "@ballmac": "https://ui.ballmac.com/r/{name}.json", "@ballmac-pro": { "url": "https://ui.ballmac.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${BALLMAC_LICENSE_KEY}" } } } }.env.localBALLMAC_LICENSE_KEY=your-licence-keyAdd it.
$ pnpm dlx shadcn@latest add @ballmac-pro/app-shell-pro-1Need a licence or help with setup?
Usage
import { AppShellPro1 } from "@/components/ballmac/blocks/app-shell-pro-1/app-shell-pro-1"Dependencies
- npm
- lucide-react
- Registry
- @ballmac/badgeshadcn/utils
Use with AI
Two-level navigation shell. rail[] each hold their own groups of pages; children is a render function that receives the open page. With the shadcn MCP server set up (guide), ask your agent:
Add the Ballmac UI App-shell Pro 1: icon rail with a second level (@ballmac-pro/app-shell-pro-1) to this project with the shadcn MCP, then use it where it fits.
Use it for
- Apps with many sections
Not for
- Single-page tools
Registry JSON (needs your licence key): https://ui.ballmac.com/r/pro/app-shell-pro-1.json
Covered by the Ballmac UI Pro license.
More app shell blocks
App Shell 1: collapsible sidebar with command menu
A product frame: workspace switcher, grouped navigation with badges that collapses to an icon rail, top bar with search, notifications and a ⌘K command menu, and a scrolling page slot. A drawer on phones.
App-shell Pro 2: top bar with search and tabs
A product top bar with navigation, search with a shortcut hint, a notifications menu and an account menu, then a page header with arrow-key tabs.