Elements Pro launch: $79 for the first 50 with LAUNCH50 · $129 standard.

Components / Blocks / SettingsLayout

SettingsLayout.

FreeBlock

A responsive settings shell with local navigation, page context, and a focused content region.

Demo dataResponsive

Settings

Manage your personal account.

Shown across your workspace.

Installation

pnpm dlx shadcn@latest add https://elements.micropreneur.dev/r/settings-layout.json

The shadcn CLI writes the source into your project. Files added:

  • components/blocks/settings-layout.tsxblock
  • lib/utils.tslib
Dependenciesclsxtailwind-merge

API

PropTypeDefaultDescription
children (required)ReactNode—
descriptionReactNode—
heading (required)ReactNode—
items (required)readonly SettingsLayoutItem[]—

Also accepts ComponentProps<'section'>.

SettingsLayoutItem

PropTypeDefaultDescription
activeboolean—
descriptionstring—
href (required)string—
label (required)string—

Accessibility

  • Local navigation is a labelled nav landmark ("Settings").
  • The active section sets aria-current="page", and the heading renders as a level-two heading.