Skip to main content

Crate dioxus_nox_shell

Crate dioxus_nox_shell 

Source
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§

breakpoint

Structs§

ShellContext
Reactive context shared across the shell tree.

Enums§

ShellLayout
Selects the CSS layout mode applied via data-shell-layout.

Functions§

AppShell
Persistent application shell with named slots and responsive breakpoint awareness.
MobileSidebarBackdrop
Scrim rendered behind the mobile sidebar drawer.
use_shell_context
Access ShellContext from any descendant of [AppShell].