Example Controls Shell

Hybrid docs shell for a live specimen beside persistent controls and explanation.

LLM handoff

Copy a concise page brief or the full MDX source without digging through the docs shell.

Docs / Example

Preview beside controls

Useful when docs need a specimen and a persistent explanation rail.

Live specimen area
Control groups, specimen notes, and example state guidance can all live in one authored shell.

ExampleControlsShell is useful when a docs page needs a live example and a persistent control rail in one authored composition.

Installation

Install
Purchase access, then open /account/install to issue a registry token.

Usage

import { ExampleControlsShell } from "@/registry/swiss/blocks/example-controls-shell"

Why This Block Exists

Hybrid docs pages often need a live specimen and a persistent control or explanation rail. This shell formalizes that relationship.

Examples

Use it for:

  • interactive docs examples
  • onboarding walkthroughs
  • side-by-side control surfaces

API Reference

PropTypeRequiredNotes
previewReactNodeyesMain specimen or live example area.
controlsReactNodeyesRight-side control group or notes rail.
headerReactNodenoIntroductory heading or route header.
footerReactNodenoSupporting guidance below the shell.