fndn/ui

Blocks

Sidebar Nav

Beta

An app's side navigation, which collapses to a rail of icons.

Details

The app's left rail: a workspace switcher, primary links, labelled sections of links (projects, teams) and a collapsible list of recent chats. It collapses to a 52px rail of icons without moving a single glyph: the 224px tree stays put and the shell clips it, while the labels fade and drift away. A highlight glides between rows under the pointer and with keyboard focus; the collapse is instant from the keyboard. The workspace switcher is our menu with a custom trigger (Zag menu machine through Ark UI); the chats section is our collapsible, the toggle our button, the badge our count, and every icon-only control in the rail gets our tooltip; links are native elements.