Library sidebar
Left rail of the library screen. Primary nav rows (New / All /
Starred / Shared / Inbox), SPACES, TAGS, and a bottom storage
quota meter that turns red past 85%.
States
| State | Story |
|---|---|
| Default | library-sidebar-default |
| Inbox active | library-sidebar-inbox-active |
| 95% storage (warning) | library-sidebar-high-storage |
| No spaces section | library-sidebar-empty-spaces |
| Long labels truncate | library-sidebar-long-labels |
API
#![allow(unused)] fn main() { use ui_storybook::components::library::{LibrarySidebar, LibrarySidebarView}; use ui_storybook::fixtures::library::sample_library_sidebar; view! { <LibrarySidebar view=sample_library_sidebar(/* inbox_unread */ 3) /> } }