Aurora AI Plan
aurora-dinglebear-ai/aurora-ai-planUnverifiedBlock
Aurora-native plan parity surface from AI Elements.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/dinglebear-ai/aurora/main/aurora-ai-plan.jsonSource
1"use client"23import * as React from "react"4import { Check, CircleAlert, ListChecks } from "lucide-react"56// ---------------------------------------------------------------------------7// Aurora "Plan" — execution-plan card (CD-parity).8//9// Self-contained shadcn-registry implementation: a titled card with a progress10// bar and a vertical status rail (done / inprog / pending / error per step).11// Axon orange is the AI/automation identity color; success/error use the12// semantic token layer. No violet.13// ---------------------------------------------------------------------------1415export type PlanStepStatus = "pending" | "inprog" | "done" | "error"1617export interface PlanStep {18 label: string19 status: PlanStepStatus20 detail?: string21}2223export interface PlanProps extends React.HTMLAttributes<HTMLDivElement> {24 title?: string25 steps?: PlanStep[]26 /** Show a blinking cursor after the in-progress step's label. */27 isStreaming?: boolean28}2930// Accents -------------------------------------------------------------------31const PLAN_ACCENT = "var(--axon-orange)"3233// Styles: registry/aurora/styles/aurora-components.css (@layer aurora-components).3435// ---------------------------------------------------------------------------36// Blinking cursor37// ---------------------------------------------------------------------------3839function Cursor() {40 return (41 <span42 aria-hidden="true"43 style={{44 display: "inline-block",45 width: "2px",46 height: "1em",47 background: PLAN_ACCENT,48 marginLeft: "2px",49 verticalAlign: "text-bottom",50 borderRadius: "1px",51 animation: "aurora-plan-blink 1s step-end infinite",52 }}53 />54 )55}5657// ---------------------------------------------------------------------------58// Status node (the rail markers)59// ---------------------------------------------------------------------------6061const NODE_SIZE = 226263function StepNode({ status }: { status: PlanStepStatus }) {64 const base: React.CSSProperties = {65 width: NODE_SIZE,66 height: NODE_SIZE,67 borderRadius: "50%",68 flexShrink: 0,69 display: "flex",70 alignItems: "center",71 justifyContent: "center",72 boxSizing: "border-box",73 }7475 if (status === "done") {76 return (77 <span78 role="img"79 aria-label="Done"80 style={{81 ...base,82 border: "1.5px solid var(--aurora-success-border)",83 background: "var(--aurora-success-surface)",84// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from aurora
All 176 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Aurora AI Actionaurora-ai-action | aurora | Blocks | Unverified | 1 dep | |
| Aurora AI Actionsaurora-ai-actions | aurora | Blocks | Unverified | 1 dep | |
| Aurora AI Agentaurora-ai-agent | aurora | Blocks | Unverified | 1 dep | |
| Aurora AI Image Gridaurora-ai-ai-image-grid | aurora | Blocks | Unverified | 1 dep | |
| Aurora AI Attachmentsaurora-ai-attachments | aurora | Blocks | Unverified | 1 dep | |
| Aurora AI Audio Playeraurora-ai-audio-player | aurora | Blocks | Unverified | 1 dep | |
| Aurora AI Branchaurora-ai-branch | aurora | Blocks | Unverified | 1 dep | |
| Aurora AI Canvasaurora-ai-canvas | aurora | Blocks | Unverified | 1 dep |
