# Plan URL: /components/plan --- title: Plan description: A collapsible plan component for displaying AI-generated execution plans with streaming support and shimmer animations. path: elements/components/plan --- The `Plan` component provides a flexible system for displaying AI-generated execution plans with collapsible content. Perfect for showing multi-step workflows, task breakdowns, and implementation strategies with support for streaming content and loading states. ## Installation ## Usage ```tsx import { Plan, PlanAction, PlanContent, PlanDescription, PlanFooter, PlanHeader, PlanTitle, PlanTrigger } from "@/components/ai-elements/plan"; ``` ```tsx
Implement new feature Add authentication system with JWT tokens and refresh logic.

Overview

This plan outlines the implementation strategy...

``` ## Features - Collapsible content with smooth animations - Streaming support with shimmer loading states - Built on shadcn/ui Card and Collapsible components - TypeScript support with comprehensive type definitions - Customizable styling with Tailwind CSS - Responsive design with mobile-friendly interactions - Keyboard navigation and accessibility support - Theme-aware with automatic dark mode support - Context-based state management for streaming ## Props ### `` ', }, }} /> ### `` ', }, }} /> ### `` , "children">', }, }} /> ### `` , "children">', }, }} /> ### `` ', }, }} /> ### `` ', }, }} /> ### `` ', }, }} /> ### `` ', }, }} />