Skip to content

Settings

Space settings modal

The full space settings modal, covering every tab (details, access, analytics, admins, roles, notifications, discounts, payouts, plan, payment, billing, apps, manage) with its own responsive layout.
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.

Space settings modal

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
initialDiscountsDiscountData[][]Fixture/application discounts. Defaults to empty.
initialRolesSpaceRole[][]Fixture/application roles. Defaults to empty.
initialBankDetailsPayoutBankDetailsEMPTY_BANK_DETAILSFixture/application bank details. Defaults to empty display values.

Reference

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

Source
src/components/settings/SpaceSettingsModal.tsx
Portability
Copies across unchanged — only the utils import path moves.
Notes
Mount it as the settings destination reached from a space; it switches between a two-layer mobile navigation (menu, then detail screen) and a side-by-side desktop layout, and drills further into app, pixel, website, discount, bank, and role management screens depending on which item was selected.