Skip to main content
NetScriptdocs Search docs ⌘K v0.0.9
Browse documentation

SidebarShell

Reusable dashboard sidebar shell that accepts app-owned IA, breadcrumbs, and topbar actions.

All components · Theme builder · Implementation source

Live preview

Open live sidebar-shell preview

Install

Shell
netscript ui:add sidebar-shell

Usage and examples

The preview runs this JSX with the installed components. Import any composed primitives from your UI directory.

TypeScript
import { useState } from 'preact/hooks';
import { SidebarShell } from '@app/components/ui/sidebar-shell.tsx';

export function Example() {
  const [value, setValue] = useState('standard');
  const [open, setOpen] = useState(false);
  const [notice, report] = useState('');
  return (<><div><SidebarShell brand="Northwind" pathname="/orders" navigation={[{items:[{label:"Orders",href:"/orders"}]}]}>Order workspace</SidebarShell></div><p role="status">{notice}</p></>);
}

Props

Generated from native deno doc --json --private over the shipped implementation. Compound component props retain their owning interface; native attributes pass through where declared.

OwnerPropTypeOptionalDescription
SidebarShellPropschildrenRenderableNo
SidebarShellPropsclassstringYes
SidebarShellPropspathnamestringNo
SidebarShellPropsnavigation[object Object]No
SidebarShellPropsbrandRenderableNo
SidebarShellPropsbrandBadgeRenderableYes
SidebarShellPropsfooterRenderableYes
SidebarShellPropstopbarStartRenderableYes
SidebarShellPropstopbarEndRenderableYes
SidebarShellPropscontentIdstringYes
SidebarShellPropsnavLabelstringYes
TypeScript
SidebarShellProps extends Omit<JSX.HTMLAttributes<HTMLDivElement>, "class" | "children">

Keyboard

No S3 keyboard contract is registered for this item. Native controls retain browser keyboard behavior.

Tokens

No S3 token contract is registered for this item.

CSS custom properties referenced directly: Composed primitives supply their own tokens.

Contract and compatibility

This registry item ships without an S3 entry. Implementation prop documentation is authoritative.

Search all documentation

Type a term to search the documentation.