Skip to content

shadcn hero sections, each for a different business

The hero has to say what you do before anyone scrolls. A generic centred headline rarely manages that, so each of our 47 heroes is designed for one business in one of 42 sectors: a booking form for a hotel, a route planner for transport, a prompt box for an AI tool.

hero blocks
47
sectors designed for
42
free, or free with an account
4

Nine of the 47

A spread of layouts: photo-led, form-led and type-led. Each one carries copy written for its business, which is the fastest way to see if it fits yours.

See all 47

The shadcn/ui parts inside them

Counted across the 46 hero blocks built on shadcn/ui. The CLI installs any part you don’t have yet, so this is also what your components/ui folder gains.

shadcn/ui parts by how many hero blocks use them
PartBlocksShare
button4291%
card2452%
label1533%
badge1533%
input1430%
progress817%
separator613%
tabs511%
avatar49%
checkbox24%
switch24%
textarea12%

Pick by what the visitor does first

If people come to search or book, put the form in the hero: the table above shows how often our heroes use an input and a label. If they come to understand a product, lead with a screenshot or a short demo. If the brand is the point, a full-bleed photo and one line is enough.

How it works with shadcn

From the catalogue to your components folder

  1. Add the registry

    Once per project: the @themesdev entry in components.json, with your API key read from THEMESDEV_TOKEN. Making a key takes a free themes.dev account.

    components.json
    {
      "registries": {
        "@themesdev": {
          "url": "https://www.themes.dev/r/ui/{name}.json",
          "headers": { "Authorization": "Bearer ${THEMESDEV_TOKEN}" }
        }
      }
    }
  2. Install by number

    Every item has a store number. This one is hero-12 (Hallway); the CLI adds the shadcn/ui parts it needs first.

    terminal
    npx shadcn@latest add @themesdev/hero-12
  3. Edit it as your code

    The file lands in components/hero/ in your project. No package, no runtime, no lock-in: change the markup, the copy and the classes like anything else you wrote.

See it on the item’s own page: hero-12 (Hallway). Set up your key in your account.

Questions

About shadcn hero

Asked by people who were looking for the same thing. Something missing? Send us a message; we answer every one ourselves.

  • Can I change the photo and copy?

    Yes. Every hero takes its title, text, buttons and image as props, so you change them where you use it, not inside the block.

  • Is there a free shadcn hero?

    Yes, one in the free library, and several of the Pro heroes are free with an account. They are marked on the hero category page.

  • Do the heroes work on phones?

    Yes. They are responsive, and the photo-led ones change their layout on small screens instead of only shrinking.

Frank Spin

Not sure it fits?

Tell us what you are building and we tell you honestly whether these blocks are a good fit.

Frank Spin · Founder of themes.devSend a messageEvery message reaches him directly

UI Pro

Build it from finished shadcn/ui blocks

Every block, page template and website theme from €199, paid once, with every update and everything we add later. Not ready? The free blocks are open to everyone.

blocks
860
page templates
14
website themes
26
The About page template from UI Pro, built from its blocks.

This page is built from UI Pro blocks: Straalnet (faq-10), Rooilijn (call-to-action-07).

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans