For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
18

Introduction

An open shadcn registry of interface parts for AI agents and generative media.

Motif is a shadcn registry of interface parts for AI agents and generative media. Install components with npx shadcn add to own the source directly.

What's in it

  • Agents — conversation, message, thinking-block, loading-state, prompt-input, voice-input, attachment, scroll-rail, approval-card, question-card.
  • Components — ratio-picker, resolution-picker, duration-slider, generation-overlay, cover-fan, flow-edge, settings-dialog, activity-heatmap.
  • Blocks — agent-run.

How the parts are built

  • Compound components — A root owns the state and named parts compose it; empty slots and unhandled parts render nothing.
  • Theme tokens — Every color uses shadcn tokens (bg-card, text-muted-foreground, text-success) and ships required tokens in cssVars.
  • Motion — Used for state transitions like thread auto-follow, loading waves, and card hover lift.
  • Agent ready — Publishes llms.txt, llms-full.txt, an API catalog, and agent-skill discovery routes.

Install

$ pnpm dlx shadcn@latest add https://motif.sweetretry.com/r/question-card.json
import { QuestionCard } from "@/components/ui/motif/question-card";

FAQ