Skip to content

Application shell

Unauth mobile sidebar

The full-height mobile menu for signed-out visitors, combining space search, a space-details accordion, and navigation to public pages and channels.
Available
Ports as-is

Examples

Rendered live from the maintained Storybook story. Lantern stores only the story id and embeds Storybook rather than duplicating the component or its demo.

Unauth mobile sidebar

Rendered live from Storybook

Storybook must be running for this to load — bun run start:storybook from the monorepo root, or set NEXT_PUBLIC_STORYBOOK_URL to a deployed instance.

Props

The component's public API, read from its TypeScript source. Descriptions come from TSDoc on the prop, so this table cannot drift from the component.

PropTypeDefaultDescription
onJoin() => void—Called when the visitor taps "Join now".
onNavigate() => void—Called when the visitor navigates via a sidebar item.
onClose() => void—Called when the visitor taps the close (X) button.

Reference

Transcribed from the component audit. If this disagrees with the source, the source is right.

Source
src/components/layout/UnauthMobileSidebar.tsx
Portability
Copies across unchanged — only the utils import path moves.
Notes
Render inside the unauthenticated mobile menu as the visitor-facing equivalent of the member sidebar; it only lists pages and channels marked visible/public and ends with a "Join now" CTA in place of the settings entry members would see.