Make your AI a shadcn expert

React AI Plan

React AI plan component with collapsible card showing task planning with streaming shimmer effect

Plan preview

Scroll to load preview

When an AI agent is figuring out how to tackle a complex task, it's nice to show users the plan. This component gives you a collapsible card where you can display the AI's thinking—title, description, and a list of steps. The cool part is the streaming support: while the AI is still generating the plan, the text gets that shimmer effect so users know it's still thinking. Once streaming stops, it becomes static. We use this for agentic workflows where the AI breaks down a big task into steps before executing. Users can collapse it if they don't care about the details.

Install with AI

If you've connected the shadcn.io MCP server to Claude Code, Cursor, Windsurf, or any MCP-ready AI editor, prompt your agent to install this AI component for you — no copy-paste, no CLI:

use shadcnio to install the plan AI component into my project

FAQ

Was this page helpful?

Sign in to leave feedback.