Skip to content

Showcase Stage

Any real component on a dark stage in a gentle 3D tilt, with your own comments beside the card and a hairline leader from each to a part. The camera tours comment to comment.

On this page
Used for
  • The hero or a feature section of a product page
  • Marketing stills and video frames
  • A guided tour of one screen in docs or onboarding

Examples

Composer, mirrored

Agent card

CRM record header

Point at your own UI

Mark the parts of your own component with data-inspect="Name" and use that name as a comment's target.

Installation

Installation is part of Pro

Pro components install from a licensed registry. The live preview stays open to everyone.

Props

children
ReactNode
The real component.
comments
{ target, text, side? }[]
In tour order. `target` is a selector inside the component, a ref, `(root) => Element` or the name of an element marked data-inspect="Name"; `side` is left or right (default: nearer the part).
active / defaultActive
number
Default0
The comment in focus, controlled or not.
onActiveChange
(index: number) => void
Called when the tour or the visitor picks a comment.
autoplay
boolean
Defaulttrue
The camera tours the comments while on screen, until the visitor points, taps or uses the keys. Off under reduced motion.
still
boolean
Defaultfalse
A still frame for posts and video: the active comment in focus, no tour.
tilt
boolean
Defaulttrue
The 3D tilt. Always off under `narrowBelow`.
sides
"auto" | "both" | "left" | "right"
Default"auto"
Which sides of the card hold comments. Auto keeps both while the card fits at full size and moves every comment to the side most of them prefer before it would shrink the card.
mirror
boolean
Defaultfalse
Tilt the other way.
delay
number
Default0
Wait this long (ms) after first view before the tour starts.
before, after
ReactNode
The neighbouring items, shown faded around the card (inert, hidden from screen readers).
narrowBelow
number
Default640
Under this container width: no tilt, no neighbours, one comment at a time.
label
string
Names the figure; the comments are read out as a list.
controls, link
ReactNode, { href, label }
Under the stage: a switch on the left, a link on the right.
className
string
On the wrapper.

Accessibility

  • The stage is a figure named by `label` and takes focus: the arrow keys step through the comments, and the one picked is read out politely with its place in the list.
  • Every comment is in the page as text, in tour order, so a screen reader gets them all without the camera.
  • The component inside keeps its own roles, names and keyboard; the comments and leaders never take a pointer from it.
  • The neighbouring items are inert and hidden from screen readers. Reduced motion stops the tour and snaps every change.

What it handles

  1. 01Renders the real component, live, tilted on a dark stage between whole neighbouring items.
  2. 02Places each comment beside the card on the side nearer its part, level with it, never over a part or another comment.
  3. 03Draws a hairline leader from each comment to its part's edge, straight when level and bent once otherwise.
  4. 04Tours the comments with the camera while on screen; pointing at a comment or a part, tapping or the arrow keys take over.
  5. 05Finds parts by selector, ref, function or the name of an element marked data-inspect="Name".
  6. 06Keeps the card at full size: the stage grows to fit, and comments move to one side before the card would shrink.

States

First render
The first comment in focus, still
none
Tour step
The camera glides to the next comment's part; that comment brightens and its leader draws in
240 to 600ms by distance, ease in and out; 120ms fade, 180ms draw
The visitor points, taps or uses the keys
The tour stops; the picked comment comes into focus
280ms glide
Under 640px
No tilt and no neighbours; one comment above or below the card, its part outlined in the accent (no leader across the card)
120ms fade
Still
The active comment in focus, no tour
none
Reduced motion
No tour; every change snaps
0ms

Works with

When to use

When to use

  • A hero or feature section that walks through one real screen with a few short notes.
  • Marketing stills and video frames: a still frame with one note in focus.
  • A guided tour of a component in docs or onboarding, one note at a time.

When not to use

  • Padding, gaps and sizes measured live instead of notes: use Inspect.
  • A step-by-step product tour inside your app: use Onboarding Checklist.

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Showcase Stage to my app and wire it to my own data.
  • I need a hero or feature section that walks through one real screen with a few short notes. Set that up with the Knowns UI Showcase Stage.
  • Which Showcase Stage props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "showcase-stage" }) and search_docs({ query: "showcase stage" }). Pro props, full examples and source come back once your license key is in the MCP config.

Need help?

Stuck on Showcase Stage, or found something off? We read every message.