Planes

Motion-first interaction components from useplanes.com, plus sher.md remakes of Pro pieces

5 components
•useplanes.com

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.tsx
  • motion-tokens (registry dependency) → lib/motion-tokens.ts
  • image-generation (sher.md remake, not from the registry) → components/ui/image-generation.tsx
  • agent-plan (sher.md remake, not from the registry) → components/ui/agent-plan.tsx
  • progressive-blur (sher.md remake, not from the registry) → components/ui/progressive-blur.tsx
  • chat-orb (sher.md remake, not from the registry) → components/ui/chat-orb.tsx

Live previews

An 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

Thinking
<ThinkingLoader interval={2200} loop={true} done={false} />

Variants

Thinking

Default (loops)

<ThinkingLoader />
Planning

Custom phases · faster

<ThinkingLoader phases={["Planning", …]} interval={1400} />
Thinking

Run once, then done

<ThinkingLoader loop={false} done={finished} />

Props

PropTypeDefaultDescription
phasesstring[]["Thinking", "Searching the web", "Reading sources", "Writing response"]Labels to cycle through.
intervalnumber2200Milliseconds each phase stays on screen.
loopbooleantrueWrap back to the first phase; false holds on the last one.
donebooleanfalseSwap the spinner for a green check and show "Done".
classNamestring—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 remake
Inspired by Planes Image Generation

An 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.

Written from scratch for sher.md, using only the public prop names and description of Planes' Pro component. This is not the official Planes component and contains none of its source. It isn't installable from the Planes registry, so copy the file from this repo.
import { ImageGeneration } from "@/components/ui/image-generation";

Playground

Wind-carved dunes at dusk, sun sinking behind the ridgeline
Layered desert dunes under a pink and gold dusk sky
Queued
onComplete fired 0×

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

Aurora over a jagged peak, mirrored in a still alpine lake
Green and violet aurora above a dark mountain reflected in a lake
Queued

Chat reply · 2 / 3

<ImageGeneration src="/planes/aurora.webp" prompt="Aurora over a jagged peak…" />
Turquoise water seen from above with bright caustic light patterns
Queued

Landscape · fast, no prompt

<ImageGeneration src="/planes/shallows.webp" aspectRatio="3 / 2" duration={1.6} />
Layered desert dunes under a pink and gold dusk sky

Finished · press Regenerate

<ImageGeneration src="/planes/dunes.webp" aspectRatio="1 / 1" autoPlay={false} />

Props

PropTypeDefaultDescription
srcstring—The finished image. The reveal starts once it has loaded.
promptstring—Shown as a chat bubble above the frame and echoed in the placeholder.
altstring"Generated image"Accessible description of the image.
durationnumber2.8Seconds to resolve from noise to sharp.
aspectRatiostring"2 / 3"CSS aspect-ratio of the frame.
autoPlaybooleantrueRun 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.
classNamestring—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 remake
Inspired by Planes Agent Plan

The 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.

Written from scratch for sher.md, using only the public prop names and description of Planes' Pro component. This is not the official Planes component and contains none of its source. It isn't installable from the Planes registry, so copy the file from this repo.
import { AgentPlan, type PlanStep } from "@/components/ui/agent-plan";

Playground

  1. Read the settings page
    read_file(app/settings/page.tsx)
  2. Create a ThemeToggle component
    create_file(components/theme-toggle.tsx)
  3. Wire it to next-themes
    edit_file(app/layout.tsx)
  4. Run type check and tests
    run("pnpm test")
  5. Update the docs
  6. 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

  1. Read the settings page1.1s
  2. Create a ThemeToggle component
    create_file(components/theme-toggle.tsx)

    Adding sun / moon icons

    • Scaffold component
    • Add icons
    • Persist preference
  3. Wire it to next-themes
  4. 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} />
  1. Install dependencies
    run("pnpm install")
  2. Build
    run("next build")
  3. Deploy to production
  4. Smoke-test the homepage
    fetch(https://sher.md)

Background job · loops, folds when done

<AgentPlan title="Deploy sher.md" steps={pipeline} />

Props

PropTypeDefaultDescription
steps*PlanStep[]—Controlled list: { id, title, detail?, status?, duration?, tool?, substeps? }. Change statuses, insert or remove steps and every transition animates. Keep ids stable.
titlestring"Plan"Header label while in progress. Replaced by the completion summary.
collapseOnCompletebooleantrueFold the steps away once every step is done, failed or skipped. The header reopens them.
defaultOpenbooleantrueStart with the steps expanded.
onComplete() => void—Fires once when the last step settles.
classNamestring—Merged onto the root via cn().

PlanStep

PropTypeDefaultDescription
idstring—Stable key.
titlestring—Step label.
status"pending" | "active" | "done" | "failed" | "skipped""pending"Active breathes + shimmers; failed turns red; skipped strikes through.
detailstring—Sub-status. Shimmers while active, explains a failure or skip.
durationnumber (ms)—Shown on settled steps; summed into the summary.
toolstring—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 remake
Inspired by Planes Progressive Blur

Scroll-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.

Written from scratch for sher.md, using only the public prop names and description of Planes' Pro component. This is not the official Planes component and contains none of its source. It isn't installable from the Planes registry, so copy the file from this repo.
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)

0.240.982.23.926.128.8212
<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>
Aurora over a mountain lake

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

PropTypeDefaultDescription
side"top" | "bottom" | "left" | "right""bottom"Edge the blur builds toward.
sizenumber | string96Extent of the band along the axis, in px or any CSS length.
blurnumber12Blur radius at the strongest edge, in px. Layers ramp quadratically up to it.
layersnumber7sher.md addition — stacked backdrop layers (2–16). More is smoother but costs more.
tintstring—Optional colour fading in toward the edge, e.g. your background at partial alpha.
classNamestring—Wrapper classes — position it (absolute / sticky) here.
styleCSSProperties—sher.md addition — e.g. a negative margin so a sticky band overlaps content.
childrenReactNode—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 remake
Inspired by Planes Chat Orb

The 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.

Written from scratch for sher.md, using only the public prop names and description of Planes' Pro component. This is not the official Planes component and contains none of its source. The panel is a lightweight scripted chat that mirrors the public AIChat props so the orb works without Planes' Pro AI Chat. Copy the file from this repo.
import { ChatOrb } from "@/components/ui/chat-orb";

Playground

opened 0×

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.

Scripted demo · turn 1/1

Open · face in the header

<ChatOrb defaultOpen position="inline" chat={{ title, script }} />

Brand colour · rose, no teaser

<ChatOrb color="#f43f5e" teaser="" size={80} />

Props

PropTypeDefaultDescription
position"bottom-right" | "bottom-left" | "inline""bottom-right"Fixed to a page corner, or inline to fill a container you position.
teaserstring"Hi there! Need a hand?"Speech bubble next to the orb until opened. Empty string disables.
teaserDelaynumber1400Milliseconds before the teaser appears.
defaultOpenbooleanfalseStart with the chat panel open.
chatChatOrbChatProps{}Panel props: title, subtitle, greeting, greetingHint, script (ChatTurn[]).
panelClassNamestring—Classes on the expanded panel, for size overrides.
classNamestring—Classes on the root container.
sizenumber64sher.md addition — closed orb diameter in px.
colorstring"#6366f1"sher.md addition — orb fill colour.
open / onOpenChangeboolean / (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