Atelier UI

Search components…

Search components…

Inspector Panel

A non-modal right-side inspector with Details and Activity tabs, property rows and an optional pin.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

InspectorPanelProps

Also accepts all props of Omit<React.ComponentProps<"aside">, "title">

PropTypeDefaultDescription
open* requiredboolean——
onOpenChange* required(open: boolean) => void——
title* requiredReact.ReactNode——
subtitleReact.ReactNode——
iconReact.ReactNode——
properties* requiredInspectorProperty[]——
activityInspectorActivity[][]—
pinnablebooleantrueShow the pin button. Pinned panels ignore outside clicks.
pinnedboolean——
defaultPinnedbooleanfalse—
onPinnedChange(pinned: boolean) => void——
widthnumber360Panel width in px on screens wider than 640px; below that it is a full-width sheet
fixedbooleanfalseUse viewport positioning instead of the nearest positioned ancestor

Install

$ npx shadcn@latest add https://chromotion.dev/r/inspector-panel.json

More like this