UI AI Prompt Flow
- from @remocn
An AI prompt composition: a prompt types into the field, the Generate button runs hover → press → loading, a skeleton shimmer reveals, then crossfades into the generated answer, and a ready toast slides in. A pure orchestrator — the shimmer is owned by the skeleton-block motion atom; every other channel comes from a composed primitive's hook.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @remocn/ai-prompt-flowLive preview
No live preview has been built for this component yet.
Registry dependencies6
- @remocn/remocn-ui
- @remocn/input
- @remocn/button
- @remocn/skeleton
- @remocn/skeleton-block
- @remocn/toast
