Expand description
§dioxus-shell
⚠️ Disclaimer: This crate was entirely generated by AI (Claude) as part of a personal learning project. It has not been battle-tested in production and may contain bugs or unsound abstractions. Use at your own risk and exercise extreme caution before depending on it in anything that matters.
Application shell layout primitive for Dioxus.
Provides AppShell — a persistent, always-visible split-pane layout
with named slots (sidebar, children, preview, footer). Headless: all
layout is CSS-driven via data-shell* attributes.
§Quick start
ⓘ
use dioxus_nox_shell::prelude::*;
AppShell {
sidebar: rsx! { MySidebar {} },
MyMainContent {}
}Re-exports§
pub use breakpoint::BreakpointConfig;pub use breakpoint::DesktopSidebar;pub use breakpoint::MobileSidebar;pub use breakpoint::SheetSnap;pub use breakpoint::ShellBreakpoint;pub use breakpoint::use_shell_breakpoint;pub use shell::AppShell;pub use shell::AppShell;pub use shell::MobileSidebarBackdrop;pub use shell::MobileSidebarBackdrop;
Modules§
Structs§
- Shell
Context - Reactive context shared across the shell tree.
Enums§
- Shell
Layout - Selects the CSS layout mode applied via
data-shell-layout.
Functions§
- AppShell
- Persistent application shell with named slots and responsive breakpoint awareness.
- Mobile
Sidebar Backdrop - Scrim rendered behind the mobile sidebar drawer.
- use_
shell_ context - Access
ShellContextfrom any descendant of [AppShell].