Hero 02

New

A split hero: headline, an email sign-up that validates, and a framed screenshot of the product, built from our components and tilted a degree or two.

Installation

pnpm dlx shadcn@latest add https://kagadmodyaa.vercel.app/r/hero-02.json

Needs a React + Tailwind project set up with shadcn. Copies the block's files into your project, along with the components it uses, so you can edit all of it.

Usage

This block is a section, not a page. Import it where you want it, alongside your other sections.

import { Hero02 } from '@/components/hero-02/hero-02'

export default function Page() {
  return (
    <main>
      <Hero02 />
    </main>
  )
}

Files

What the command adds to your project, and where.

  • components/hero-02/hero-02.tsx

    The section. Import it into any page and render it; it fills the width of its parent.

It also installs the components it is built from, unless you already have them: Badge, Button, Input, Switch.

Links, copy and the product name are placeholders; swap in your own. Where a block has a form, its submit handler is a stub for your own request.

More in Hero