Skip to content
GetUrUI

Window Stories

3 variantsPro
.md

A compact app window plays a short product story on a loop: content arrives, transforms and settles before it resets.

illustrationsvgappwindowproductheroloopai

Brief to plan

brief-to-plan.tsx

Brief lines get highlighted, then plan tasks and timeline bars stack in on the right.

$npx shadcn@latest add @geturui-pro/window-stories-brief-to-plan
PropTypeDefaultDescription
speednumber1Speed multiplier for the loop (seven seconds at 1).
titlestring—Accessible description of the scene, used as the aria-label.
classNamestring—Classes for the SVG; it fills its container width and keeps its ratio.

Chat assistant

chat-assistant.tsx

A question is typed and sent, the assistant types, streams a reply and attaches a card.

$npx shadcn@latest add @geturui-pro/window-stories-chat-assistant
PropTypeDefaultDescription
speednumber1Speed multiplier for the loop (eight seconds at 1).
titlestring—Accessible description of the scene, used as the aria-label.
classNamestring—Classes for the SVG; it fills its container width and keeps its ratio.

Analytics

analytics.tsx

KPI tiles settle in, a trend line draws itself and a crosshair scrubs along it.

$npx shadcn@latest add @geturui-pro/window-stories-analytics
PropTypeDefaultDescription
speednumber1Speed multiplier for the loop (six seconds at 1).
titlestring—Accessible description of the scene, used as the aria-label.
classNamestring—Classes for the SVG; it fills its container width and keeps its ratio.

Install the whole set

Installs every window stories variant at once. Each section above has its own command for a single variant.

Pro installs use your private registry token. Add the @geturui-pro registry once — setup guide. The command works after you get Pro.

$npx shadcn@latest add @geturui-pro/window-stories

Accessibility

  • Rendered as a single SVG with role="img" and an aria-label you can override with `title`; nothing inside is focusable.
  • Under prefers-reduced-motion the scene renders one meaningful still frame: no loops, no timers.
  • Colours come from the GetUrUI tokens only, so the scene follows light and dark themes automatically.

Related