Inspector

Playground

Properties

Variant

Content

Title
Project

Usage

Add Header and Content, and use Separator between sections. Set a fixed or maximum height for the scroll variant. Inspector has a minimum width of 280px. In narrower containers, provide horizontal scrolling that works with the keyboard, as this example does.

'use client';
import { Inspector, InspectorHeader, InspectorContent } from '@mbsw/ui';

export default function Example() {
  return (
    <Inspector aria-label={"Task information"}>
      <InspectorHeader>{"Task information"}</InspectorHeader>
      <InspectorContent>{"Design system guide: New user onboarding"}</InspectorContent>
    </Inspector>
  );
}

The Playground Code tab includes the full example with your current settings. See Installation for the CSS imports.

Composition