Planes
Motion-first interaction components from useplanes.com, plus sher.md remakes of Pro pieces
About this page
Free components from the Planes registry, added with npx shadcn add https://useplanes.com/r/<name>.json and used unmodified. They animate with motion and share one set of spring and easing tokens in lib/motion-tokens.ts. They respect prefers-reduced-motion. Pro-only components are rebuilt from scratch, labelled sher.md remake, and contain no Planes source.
thinking-loader → components/ui/ThinkingLoader.tsxmotion-tokens (registry dependency) → lib/motion-tokens.tsimage-generation (sher.md remake, not from the registry) → components/ui/image-generation.tsxagent-plan (sher.md remake, not from the registry) → components/ui/agent-plan.tsxprogressive-blur (sher.md remake, not from the registry) → components/ui/progressive-blur.tsxchat-orb (sher.md remake, not from the registry) → components/ui/chat-orb.tsx
Live previews
Thinking Loader
LiveAn AI thinking pill that cycles through phase labels like Searching and Writing, with a shimmer on the active label, then pops a check when it finishes.
npx shadcn add https://useplanes.com/r/thinking-loader.json
import { ThinkingLoader } from "@/components/ui/ThinkingLoader";Playground
<ThinkingLoader interval={2200} loop={true} done={false} />Variants
Default (loops)
<ThinkingLoader />Custom phases · faster
<ThinkingLoader
phases={["Planning", …]}
interval={1400}
/>Run once, then done
<ThinkingLoader
loop={false}
done={finished}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| phases | string[] | ["Thinking", "Searching the web", "Reading sources", "Writing response"] | Labels to cycle through. |
| interval | number | 2200 | Milliseconds each phase stays on screen. |
| loop | boolean | true | Wrap back to the first phase; false holds on the last one. |
| done | boolean | false | Swap the spinner for a green check and show "Done". |
| className | string | — | Merged onto the pill via cn(). |
Dependencies: motion, lucide-react (both already in sher.md) · registry dependency: https://useplanes.com/r/motion-tokens.json
Image Generation
Livesher.md remakeAn AI image result that starts as a noisy shimmer with your prompt and a live percentage. A soft light front sweeps down as the blur lifts and the grain settles, then download and regenerate fade in.
import { ImageGeneration } from "@/components/ui/image-generation";Playground

Image
duration
aspectRatio
<ImageGeneration
src="/planes/dunes.webp"
prompt="Wind-carved dunes at dusk, sun sinking behind the ridgeline"
duration={2.8}
aspectRatio="2 / 3"
autoPlay={true}
onComplete={() => …}
/>Variants

Chat reply · 2 / 3
<ImageGeneration
src="/planes/aurora.webp"
prompt="Aurora over a jagged peak…"
/>
Landscape · fast, no prompt
<ImageGeneration
src="/planes/shallows.webp"
aspectRatio="3 / 2"
duration={1.6}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| src | string | — | The finished image. The reveal starts once it has loaded. |
| prompt | string | — | Shown as a chat bubble above the frame and echoed in the placeholder. |
| alt | string | "Generated image" | Accessible description of the image. |
| duration | number | 2.8 | Seconds to resolve from noise to sharp. |
| aspectRatio | string | "2 / 3" | CSS aspect-ratio of the frame. |
| autoPlay | boolean | true | Run the reveal on mount; false shows the finished image. |
| onComplete | () => void | — | Fires when the image is fully revealed. |
| onRegenerate | () => void | — | Fires when Regenerate is pressed; the reveal replays. |
| className | string | — | Merged onto the wrapper via cn(). |
Dependencies: motion, lucide-react (both already in sher.md) · uses lib/motion-tokens.ts · demo images are procedurally generated sher.md originals in public/planes/
Agent Plan
Livesher.md remakeThe live plan an AI agent shows while it works. Steps light up along a rail that fills as they finish. The active step breathes and shimmers its sub-status. A failure can splice in recovery steps that slide the list apart, and when everything settles the plan folds into a one-line summary.
import { AgentPlan, type PlanStep } from "@/components/ui/agent-plan";Playground
- Read the settings page
read_file(app/settings/page.tsx) - Create a ThemeToggle component
create_file(components/theme-toggle.tsx) - Wire it to next-themes
edit_file(app/layout.tsx) - Run type check and tests
run("pnpm test") - Update the docs
- Summarize the changes
Speed
onComplete fired 0× · the header toggles the steps at any time
Live steps state
read pending toggle pending wire pending test pending docs pending summary pending
<AgentPlan
title="Add dark mode to settings"
steps={steps} // { id, title, status, detail?, duration?, tool?, substeps? }[]
collapseOnComplete={true}
onComplete={() => …}
/>Variants
- Read the settings page1.1s
- Create a ThemeToggle component
create_file(components/theme-toggle.tsx)Adding sun / moon icons
- Scaffold component
- Add icons
- Persist preference
- Wire it to next-themes
- Run type check and tests
Controlled snapshot · substeps + tool
<AgentPlan steps={[
{ …, status: "done", duration: 1100 },
{ …, status: "active", tool, substeps },
{ id: "wire", title: "…" },
]} />Folded receipt · failed + skipped
<AgentPlan
steps={settledSteps}
defaultOpen={false}
/>- Install dependencies
run("pnpm install") - Build
run("next build") - Deploy to production
- Smoke-test the homepage
fetch(https://sher.md)
Background job · loops, folds when done
<AgentPlan
title="Deploy sher.md"
steps={pipeline}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| steps* | PlanStep[] | — | Controlled list: { id, title, detail?, status?, duration?, tool?, substeps? }. Change statuses, insert or remove steps and every transition animates. Keep ids stable. |
| title | string | "Plan" | Header label while in progress. Replaced by the completion summary. |
| collapseOnComplete | boolean | true | Fold the steps away once every step is done, failed or skipped. The header reopens them. |
| defaultOpen | boolean | true | Start with the steps expanded. |
| onComplete | () => void | — | Fires once when the last step settles. |
| className | string | — | Merged onto the root via cn(). |
PlanStep
| Prop | Type | Default | Description |
|---|---|---|---|
| id | string | — | Stable key. |
| title | string | — | Step label. |
| status | "pending" | "active" | "done" | "failed" | "skipped" | "pending" | Active breathes + shimmers; failed turns red; skipped strikes through. |
| detail | string | — | Sub-status. Shimmers while active, explains a failure or skip. |
| duration | number (ms) | — | Shown on settled steps; summed into the summary. |
| tool | string | — | sher.md addition — tool-call signature chip, e.g. read_file(page.tsx). |
| substeps | { id, title, status? }[] | — | sher.md addition — nested checklist, open while active/failed, toggleable after. |
Dependencies: motion, lucide-react (both already in sher.md) · uses lib/motion-tokens.ts · tool and substeps are sher.md additions beyond the public Planes API
Progressive Blur
Livesher.md remakeScroll-edge blur in the style of Apple's interfaces. Content dissolves into stacked backdrop layers that get stronger toward the edge, with an optional tint and room for a floating header, toolbar or caption on top.
import { ProgressiveBlur } from "@/components/ui/progressive-blur";Playground

Dunes at dusk
Generated · 2 / 3
Ship the Planes tab
Thinking Loader is live on /planes

Sunlit shallows
Generated · 3 / 2
Review Agent Plan
Failure → recovery → done in 9.7s

Aurora over the lake
Generated · 2 / 3
Progressive blur
Seven stacked backdrop layers
Deploy preview
sher-md-git-feat-…vercel.app

Dunes at dusk
Generated · 2 / 3
Ship the Planes tab
Thinking Loader is live on /planes

Sunlit shallows
Generated · 3 / 2
Review Agent Plan
Failure → recovery → done in 9.7s

Aurora over the lake
Generated · 2 / 3
Progressive blur
Seven stacked backdrop layers
Deploy preview
sher-md-git-feat-…vercel.app
Scroll the preview: content melts into the blur band as it reaches the edge.
side
blur (px at the edge)
size (px)
layers
Layer ramp (px)
<div className="relative overflow-hidden">
<Scroller />
<ProgressiveBlur
side="bottom"
size={160}
blur={12}
layers={7}
className="absolute inset-x-0 bottom-0"
/>
</div>Variants
Library

Dunes at dusk
Generated · 2 / 3
Ship the Planes tab
Thinking Loader is live on /planes

Sunlit shallows
Generated · 3 / 2
Review Agent Plan
Failure → recovery → done in 9.7s

Aurora over the lake
Generated · 2 / 3
Progressive blur
Seven stacked backdrop layers
Deploy preview
sher-md-git-feat-…vercel.app

Dunes at dusk
Generated · 2 / 3
Ship the Planes tab
Thinking Loader is live on /planes

Sunlit shallows
Generated · 3 / 2
Review Agent Plan
Failure → recovery → done in 9.7s

Aurora over the lake
Generated · 2 / 3
Progressive blur
Seven stacked backdrop layers
Deploy preview
sher-md-git-feat-…vercel.app
Sticky header · title over the fade
<ProgressiveBlur side="top" size={88}
tint={bg} className="sticky top-0"
style={{ marginBottom: -88 }}>
<Header />
</ProgressiveBlur>
Dunes at dusk
Generated · 2 / 3
Ship the Planes tab
Thinking Loader is live on /planes

Sunlit shallows
Generated · 3 / 2
Review Agent Plan
Failure → recovery → done in 9.7s

Aurora over the lake
Generated · 2 / 3
Progressive blur
Seven stacked backdrop layers
Deploy preview
sher-md-git-feat-…vercel.app

Dunes at dusk
Generated · 2 / 3
Ship the Planes tab
Thinking Loader is live on /planes

Sunlit shallows
Generated · 3 / 2
Review Agent Plan
Failure → recovery → done in 9.7s

Aurora over the lake
Generated · 2 / 3
Progressive blur
Seven stacked backdrop layers
Deploy preview
sher-md-git-feat-…vercel.app
Bottom of list · floating dock
<ProgressiveBlur side="bottom" size={112}
className="sticky bottom-0"
style={{ marginTop: -112 }}>
<Dock />
</ProgressiveBlur>
Generated
Aurora over a jagged peak, mirrored in a still alpine lake
Image caption · dark tint
<ProgressiveBlur side="bottom" size="50%"
blur={24} tint="rgba(0,0,0,0.45)"
className="absolute inset-x-0 bottom-0">
<Caption />
</ProgressiveBlur>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| side | "top" | "bottom" | "left" | "right" | "bottom" | Edge the blur builds toward. |
| size | number | string | 96 | Extent of the band along the axis, in px or any CSS length. |
| blur | number | 12 | Blur radius at the strongest edge, in px. Layers ramp quadratically up to it. |
| layers | number | 7 | sher.md addition — stacked backdrop layers (2–16). More is smoother but costs more. |
| tint | string | — | Optional colour fading in toward the edge, e.g. your background at partial alpha. |
| className | string | — | Wrapper classes — position it (absolute / sticky) here. |
| style | CSSProperties | — | sher.md addition — e.g. a negative margin so a sticky band overlaps content. |
| children | ReactNode | — | Content over the blur (title, toolbar, caption). Receives pointer events. |
No dependencies (plain CSS backdrop-filter + mask-image, works in server components) · layers and style are sher.md additions beyond the public Planes API
Chat Orb
Livesher.md remakeThe chatbot launcher for any site: a small sphere with round eyes that blink and follow your cursor, a teaser bubble that pops in, and a press that morphs the orb into a scripted chat panel with its face shrinking into the header.
import { ChatOrb } from "@/components/ui/chat-orb";Playground
position
size
color
teaser
<ChatOrb
position="inline"
size={64}
color="#6366f1"
teaser="Hi there! Need a hand?"
chat={{ title: "sher.md", script }}
/>Variants
Idle · watching the cursor
<ChatOrb
position="inline"
teaser="Hi there! Need a hand?"
/>Support
Always online
How can we help?
Press send to start the conversation.
Open · face in the header
<ChatOrb
defaultOpen
position="inline"
chat={{ title, script }}
/>Brand colour · rose, no teaser
<ChatOrb
color="#f43f5e"
teaser=""
size={80}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| position | "bottom-right" | "bottom-left" | "inline" | "bottom-right" | Fixed to a page corner, or inline to fill a container you position. |
| teaser | string | "Hi there! Need a hand?" | Speech bubble next to the orb until opened. Empty string disables. |
| teaserDelay | number | 1400 | Milliseconds before the teaser appears. |
| defaultOpen | boolean | false | Start with the chat panel open. |
| chat | ChatOrbChatProps | {} | Panel props: title, subtitle, greeting, greetingHint, script (ChatTurn[]). |
| panelClassName | string | — | Classes on the expanded panel, for size overrides. |
| className | string | — | Classes on the root container. |
| size | number | 64 | sher.md addition — closed orb diameter in px. |
| color | string | "#6366f1" | sher.md addition — orb fill colour. |
| open / onOpenChange | boolean / (open) => void | — | sher.md addition — controlled open state. |
Dependencies: motion, lucide-react (both already in sher.md) · uses lib/motion-tokens.ts · size, color, open / onOpenChange are sher.md additions