IDE Mockup Split Hero

Split hero with heading, trust line, and CTA buttons on the left, IDE file-tree and code editor mockup on the right

PRO

Hero104: IDE Mockup Split Hero

Developer-product hero with a tagline, heading, description, CTA buttons, and a trust line on the left, and a static code-editor mockup on the right built from two independent panels: a file tree and a line-numbered code viewer.

Upgrade to Pro

Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.

Installation

Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/hero104?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/hero104?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/hero104.tsx and its dependency: the button shadcn/ui primitive.

Quick start

The installed file exports hero104Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.

tsx
import { Hero104, hero104Demo } from "@/components/beste/block/hero104";

export default function Page() {
  return <Hero104 {...hero104Demo} />;
}

Then replace the demo with your own props. Written out, the same setup looks like this:

tsx
import { FileCode, Folder } from "lucide-react";
import { Hero104 } from "@/components/beste/block/hero104";

export default function Page() {
  return (
    <Hero104
      tagline="Open source. Type-safe. Developer-first."
      heading="The full-stack framework that respects your time"
      description="Auth, database, payments, and email out of the box, all fully typed."
      buttons={[
        { label: "Start building", href: "/docs", variant: "default", icon: "arrow" },
        { label: "View on GitHub", href: "/github", variant: "outline", icon: "external" },
      ]}
      trustText="POWERING 3200+ PROJECTS IN PRODUCTION."
      fileTree={[
        { name: "src", isFolder: true, isOpen: true },
        { name: "components", icon: FileCode, indent: 1 },
        { name: "server", isFolder: true },
      ]}
      codeLines={[
        { number: 1, content: "import { db } from \"@/server/db\";" },
        { number: 2, content: "" },
        { number: 3, content: "export const list = protectedProcedure.query(...);" },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
taglinestringSmall line above the heading
headingstringMain headline
descriptionstringSupporting copy under the heading
buttonsHeroButton[][]CTA buttons under the description
trustTextstringUppercase trust line under the buttons
fileTreeFileTreeItem[][]Rows rendered in the mockup's left file-tree column (hidden below md)
codeLinesCodeLine[][]Numbered lines rendered in the mockup's code panel
classNamestringExtra classes for the outer <section>
ts
type HeroButton = {
  label: string;
  href: string;
  variant?: "default" | "outline";
  icon?: "arrow" | "external";
};

type FileTreeItem = {
  name: string;
  icon?: LucideIcon;
  indent?: number;
  isFolder?: boolean;
  isOpen?: boolean;
};

type CodeLine = { number: number; content: string };

Behavior notes

More Hero blocks

View all Hero
PRO

hero121

Split Hero with Stats

Split hero with a big headline and CTA on the left, a divided vertical stat rail on the right, and a full-width wide image strip below.

PRO

hero112

Editorial Split Hero

Two-column studio hero with a two-tone headline, dual CTAs, tall image and a client wordmark strip.

PRO

hero43

Email App Hero with Inbox Mockup

Split-layout hero with interactive email client mockup featuring sidebar, message list, and floating notification. Perfect for email and communication apps.

PRO

hero91

Split Hero with Feature List Panel

50/50 split hero with muted content panel and feature list left, video/image right

PRO

hero89

Reverse Split Hero with Testimonial

50/50 split hero with video/image left and content with testimonial quote right

PRO

hero101

Split Hero with Terminal Card

Fullscreen split hero with content left and realistic terminal/CLI card right over inset background video