# Marketing Hero: Terminal Hero

A centered developer tool hero with an install command row, dual CTAs, and a terminal window mockup of prompt, output, and success lines.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/terminal-hero
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing-pro), Standard tier
- Group: [Heroes](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections)
- Created: 2026-07-02
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/terminal-hero.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-pro-hero-sections-terminal-hero
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button
- Installs to: `@/components/blocks/marketing-pro/hero-sections/terminal-hero`

## About this block

Terminal Hero is a centered, full fold hero built for a developer tool. The
copy column stacks the shared collection headline ramp, a short lede, an
install command row styled like code with a muted dollar prompt and a static
copy affordance, and two call to action buttons. Below the copy sits a
terminal window mockup: a title bar with traffic light dots and a working
directory label, then a scripted transcript of prompt lines, muted output
lines, one highlighted success line in the primary color, and a resting
cursor. The section fills the viewport with `min-h-screen` and centers
everything vertically.

The transcript lives in a single typed `lines` array, where each entry is a
command, an output line, or the success line, so scripting your own session
means editing data rather than markup. The install row is plain markup with
no clipboard wiring; treat the copy icon as a visual cue, or hand it a real
handler in your app if you want it live. Everything is drawn with theme token
classes, so the whole hero inverts cleanly between light and dark.

## When to use

Reach for this block when the product is installed from a package manager and
the fastest way to convince a developer is to show the exact commands they
would run. It fits a deploy preview CLI particularly well: the install row
answers how to get it, and the transcript below walks through init and deploy
all the way to a live URL, so the visitor has effectively seen a demo before
touching a single button.

A natural flow around it on a Marketing Pro page:

**Before**

- Nothing required. Heroes in this collection ship standalone, so the block
  opens the page on its own.

**After**

- A [Feature Section](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/feature-sections) to explain the
  platform behind the CLI once the transcript has earned attention.
- An [Integrations](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/integration-sections) section to show the
  repos, clouds, and chat tools the workflow plugs into.

## What you can display

The transcript defaults to a deploy session, but the frame fits any tool that
lives in the terminal. A few directions to consider:

- **Package quickstart.** Script an install, a config step, and a first
  successful run so newcomers see the entire path to a working setup.
- **Test or build runner.** Show a run with a few muted progress lines and a
  passing summary as the highlighted line to lead with reliability.
- **Database or infra CLI.** Walk through provisioning a resource and end on
  the connection string as the success line developers actually want.

> Tip: keep the transcript to one screen and let the success line land last;
> a short session that ends on a win reads better than a long realistic one.

## More in Marketing Heroes

- [Centered Minimal](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/centered-minimal)
- [Centered With Browser Mockup](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/centered-with-browser-mockup)
- [Centered With Feature Pills](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/centered-with-feature-pills)
- [Centered With Integration Diagram](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/centered-with-integration-diagram)
- [Centered With Logo Strip](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/centered-with-logo-strip)
- [Centered With Search](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/centered-with-search)
- [Centered With Video Mockup](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/centered-with-video-mockup)
- [Headline Only Hero](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/headline-only-hero)
- [Hero With Ticker Band](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/hero-with-ticker-band)
- [Left Aligned With Checklist](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/left-aligned-with-checklist)
- [Metrics Hero](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/metrics-hero)
- [Signup Hero](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/signup-hero)
- [Split App Panel](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/split-app-panel)
- [Split With Analytics Dashboard](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/split-with-analytics-dashboard)
- [Split With Chat Mockup](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/split-with-chat-mockup)
- [Split With Code](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/split-with-code)
- [Split With Comparison](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/split-with-comparison)
- [Split With Funnel Graphic](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/split-with-funnel-graphic)
- [Split With Live Chart](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/split-with-live-chart)
- [Split With Metrics](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/split-with-metrics)
- [Split With Mobile App](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/split-with-mobile-app)
- [Split With Pricing Card](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/split-with-pricing-card)
- [Split With Signup Form](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/split-with-signup-form)
- [Split With Stats Sidebar](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/split-with-stats-sidebar)
- [Split With Steps](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/split-with-steps)
- [Split With Testimonial](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/split-with-testimonial)
- [With Avatar Rating](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/with-avatar-rating)
- [With Customer Counter](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/with-customer-counter)
- [With Kanban Preview](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections/with-kanban-preview)
