Split Hero with Terminal
Pitch, checklist and actions on the left, a terminal card on the right, over a faded grid.
Installation
npx shadcn@latest add @venusui/hero-02Run this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.
Files added to your project
Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.
@/components/ui/grid-pattern.tsxfrom grid-pattern@/components/hero-02.tsx
Also adds the shadcn button component if your project doesn't have it yet.
Usage
The code behind the preview above.
hero-02-demo.tsx
import { Hero02 } from "@/components/hero-02"
export default function Hero02Demo() {
return <Hero02 />
}
API reference
No props. Copy, checklist and terminal lines are in the file.
Requirements
- shadcn
buttonand VenusUIgrid-pattern. The CLI installs both. lucide-reactfor icons, React 19 and Tailwind CSS v4.
Customization
- Edit the
pointsarray for the checklist and the<code>lines for the terminal. - Swap the terminal card for a screenshot by replacing the right-hand
div. - Remove
<GridPattern />for a plain background.
Accessibility
- One
h1; keep it the only one on the page. - The terminal is real text in a
pre, so it is readable and can be copied.
Troubleshooting
- The terminal text overflows on phones.
- The
prescrolls sideways; shorten long commands if you’d rather avoid scrolling. Unknown registry "@venusui"- Your shadcn CLI couldn’t find the namespace in the shadcn registry index. Use the latest CLI (
npx shadcn@latest), install by URL, or register it with its address:npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json. No components.json found- Run
npx shadcn@latest initin your project first.