reopt design
DocsExploreTemplatesCanvasToolsPricing
Login
opt-uiopt-chartsopt-datagridopt-editoropt-calendaropt-filemanageropt-chatopt-shellbrandapp-ui
opt-shell14
Policy Toggler
reopt designreopt design

A design system for the AI era

  • Docs
  • Pricing
  • Releases
  • About
  • Contact
  • Terms of Service
  • Privacy Policy

reopt Inc.Business registration no. 217-88-02453contact@reopt.ai

© 2026 reopt Inc. All rights reserved.

Policyopt-shell example

Policy Toggler

Interactive policy controls for density, width, motion, and navigation.

policydensitynavigation
bun add @reopt-ai/opt-shell @reopt-ai/opt-ui

APIs used

ShellPolicyTogglerresolveShellPolicy

Live preview

Change the width and theme, then interact with the components.

1024px

variant="panel"

Policy Controls

Density
Content Width
Text Size
Motion
Navigation
Sidebar
Shortcut Hints

variant="compact"

{
  "density": "comfortable",
  "contentWidth": "wide",
  "motionPolicy": "system",
  "navigationMode": "sidebar"
}

Install and import

Related docs

Install

bun add @reopt-ai/opt-shell @reopt-ai/opt-ui

Import

import { ShellPolicyToggler, resolveShellPolicy } from "@reopt-ai/opt-shell";

Related Examples

opt-shell

Bottom Bar

Examples

Sticky bottom action bar for bulk actions and commit flows.

opt-shell

Completeness Score

Examples

Score harness compliance across layout, recipe, adapter, state, design, scaffold, and a11y categories.

opt-shell

Coverage Report

Examples

Add uncovered routes to a sample rollout plan and watch coverage, recipe totals, and uncovered paths update together.

PreviousState BoundaryNextNavigation Shell