Compositions
Core Primitives
Transitions
Typography
Customize
4
1
Installation
$ pnpm dlx shadcn@latest add @framecn/ai-generation-canvas
Usage
import { AIGenerationCanvas } from "@/components/framecn/ai-generation-canvas";<AIGenerationCanvas />API Reference
AIGenerationCanvas
| Prop | Type | Default |
|---|---|---|
prompt | string | "Generate a dashboard" |
accentColor | string | "#7c3aed" |
cardCount | number | 4 |
speed | number | 1 |
fps | number | 30 |
durationInFrames | number | 180 |
className | string | - |
Notes
Three-stage AI workflow
The composition shows: prompt input, header morph, then skeleton-to-populated dashboard flip. Great for AI product demos.