Terminal Dev Hero
A developer intro with a live terminal: commands type with human rhythm, outputs stream in, a build bar fills and the window floats in 3D with the pointer. Pause and replay included.
Try it: Watch the session type; tilt the window with the pointer; pause or replay from the title bar.
Brings its own background. Paints its own soft paper/ink backdrop (the terminal stays dark) via light and dark: variants, so it matches the host page. Override the surface with className (e.g. bg-*, rounded-*, min-h-*).
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/terminal-dev-hero.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/terminal-dev-hero. You can also copy the source into components/ui/terminal-dev-hero.tsx (view on GitHub).
Usage
import { TerminalDevHero } from '@/components/ui/terminal-dev-hero'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
eyebrow | string | — | Pill label. |
title | string | — | Headline. |
description | string | — | Supporting paragraph. |
ctaLabel | string | — | Primary button label. |
onCta | () => void | — | Primary button handler. |
script | TerminalStep[] | 9-step demo | Steps: { type: 'cmd' | 'out' | 'progress', text, tone? }. |
prompt | string | '~/portfolio' | Prompt label. |
loop | boolean | true | Restart when the script finishes. |
className | string | — | Extra classes merged onto the root. |
Dependencies
motionlucide-react
Related Hero components
- Route Chooser Hero
A fork in the road under a sky that follows your attention: hover or focus the left card and the sun climbs, the right one and the moon rises while a lantern walks that branch. Real buttons or links…
- Photo Strip Hero
A big headline over two tilted rails of photo cards drifting in opposite directions — they slow under the pointer, surge with scroll velocity and lift on hover.
- Split-Flap Hero
A landing hero whose key phrase lives on a mechanical departure board — every character clacks through the alphabet on hinged 3D leaves before landing, with flap counters underneath.
- Role Morph Hero
“a ____.” where the blank cycles through your roles: letters of the old role drop away with a blur, the next role springs up in a stagger, the highlighter springs to the new width and a colour wash…
- Ridgeline Horizon Hero
Headline words rise out of masks above a canvas terrain of stacked ridgelines receding to a sunrise; the pointer raises a swell that rolls back to the horizon and clicks send a ripple.
- Depth Parallax Hero
A layered SVG landscape — sun/moon, three mountain planes and a tree line — shifting at depth-correct factors with the pointer or a slow idle sway; the giant name sits between the planes.