Application Shell
Icon Rail Shell
NewAn app frame with an icon-only rail on the left and the page on its own glass layer with large rounded corners over soft glows.
Built from Icon Rail, Notification Bell, Search Input and Switcher Dropdown — installed with it.
npx motionsnack add icon-rail-shellCustomize
<IconRailShell />Props
21 properties
| Property | Type | Default | Description |
|---|---|---|---|
| items | IconRailItem[] | 6 demo icons | Icons at the top of the rail (Icon Rail). |
| footerItems | IconRailItem[] | Help, Settings | Icons pinned to the bottom of the rail. |
| accounts | SwitcherDropdownItem[] | 2 demo accounts | Accounts in the pill at the top right (Switcher Dropdown). An empty array hides it. |
| notifications | NotificationBellItem[] | 3 demo notifications | Items of the notifications panel (Notification Bell). An empty array hides the bell. |
| logo | { src: string; alt?: string } | - | Logo picture in the mark instead of the letter. |
| value | string | - | Controlled current item (its value). `active` is a deprecated alias. |
| defaultValue | string | first item | Current item on first render when uncontrolled. `defaultActive` is a deprecated alias. |
| onChange | (value: string) => void | - | Called with the value of the item the user picked. `onNavigate` is a deprecated alias. |
| linkComponent | ElementType | 'a' | Renders every item link, e.g. the app's router link. |
| banner | ReactNode | - | App banner above the frame. |
| start | ReactNode | - | Extra controls before the search. |
| end | ReactNode | - | Extra controls before the bell. |
| labels | IconRailShellLabels | English | UI strings: skip link, More, close, search. |
| onSearch | (query: string) => void | - | Called on every keystroke in the search field. |
| children | ReactNode | - | Page content rendered in the panel under the headline. |
| height | number | - | Fixed height in px. Without it the shell fills the screen (100dvh). |
| className | string | '' | Extra classes on the root. |
| brandName | string | 'Northwind' | The letter in the logo mark. |
| searchPlaceholder | string | 'Search...' | Empty hides the search field. |
| showTitle | boolean | true | Headline of the active page at the top of the panel. |
| background | string | '#000000' | Base colour behind everything. |
About Icon Rail Shell
Icon Rail Shell keeps the navigation to a slim column of icons and gives the page all the room. The rail is the library's Icon Rail: a logo on top, icons with a gliding tooltip and a sliding active pill, and help and settings pinned to the bottom. The page sits on its own layer with large rounded corners, frosted glass that blurs two slow, soft glows behind it, a bright hairline on its top edge and a deep shadow. At its top the headline of the active page changes with a short fade, next to a Search Input, a Notification Bell and a Switcher Dropdown for the account. Glass blur, corner radius, glow colours, strength and drift are props, and on a phone the rail stays as a narrow strip.
What's included
- Built from Icon Rail, Search Input, Notification Bell and Switcher Dropdown
- Icon-only rail with tooltips and a sliding active pill
- Page on a frosted glass layer with large corners
- Two slow glows behind the glass, colours and strength as props
- Headline of the active page that fades on change
- Light and dark look, respects reduced motion
- Type
- React app shell for dashboards and SaaS apps
- Library
- Application UI · Application Shell
- Stack
- Next.js, React, Tailwind CSS, Framer Motion
- Added
- 2026-11-24