Skip to content
Esc
โ†‘โ†“navigateโ†ตopenโŒ˜Jpreview

Hero Blocks for Astro

Prebuilt Astro hero sections for business websites, portfolios, and landing pages. Compare layouts, preview examples, and install the source.

Split image

Introduce the page with text, actions, and a supporting image.

Sample workflow review

Which support task should you automate first?

Start with a request your team handles often. The gnostic AI pilot brief asks who receives it, what they need to know, and when a person should take over.

Sample image placeholder
bunx --bun shadcn@latest add @gnostic/hero-1

Fullscreen video

Place a heading and action over video with an image fallback.

A wizard overlooking the town

โœฃ   gnostic AI ยท Sample catalog

Choose a kit for your first pilot

Compare the sample tickets, invoices, and reply checklist. Pick the kit that fits the work your team wants to test.

bunx --bun shadcn@latest add @gnostic/hero-fullscreen-video

Social proof

Place example social proof before the main page introduction.

Leila Moreno
LM
Owen Patel
OP
Nadia Chen
NC
Fictional ratings for this example

Follow one request from inbox to owner

In this sample gnostic AI pilot, a support lead traces a request through intake and checks whether the draft work order contains everything the owner needs.

Sample image placeholder
bunx --bun shadcn@latest add @gnostic/hero-2

Background

Keep the introduction over a background media area.

Three field notes from the pilot queue

Follow a support ticket, an invoice, and a draft reply through three gnostic AI examples. Each field note shows what the reviewer checked.

Sample image placeholder
bunx --bun shadcn@latest add @gnostic/hero-3

Full height

Give the background hero more vertical space.

Can the support lead take over the queue?

Practice handing a ticket routing rule to its owner. Use the test queue to check what happens when the rule pauses.

  • Give the lead the routing rule
  • Run the saved tickets together
  • Assign a waiting ticket by hand
Sample image placeholder
bunx --bun shadcn@latest add @gnostic/hero-4

Checklist

Pair the introduction with a short feature checklist.

Catch the extra $24 on a sample invoice

A supplier bills $264 against a $240 purchase order. Check that the draft shows the difference and sends both documents to the reviewer.

  • Match the supplier and invoice number
  • Compare the two totals
  • Flag the $24 difference
  • Send the source documents for review
Leila Moreno
LM
Owen Patel
OP
Nadia Chen
NC
Fictional ratings for this example
Sample image placeholder
bunx --bun shadcn@latest add @gnostic/hero-5

Split proof

Keep features and example social proof near the main message.

Sample image placeholder

Where should a mixed support ticket go?

A customer asks for an invoice and help setting up an account in the same message. Test what the reviewer receives when two queues match.

  • Keep the original message
  • Record the expected owner
  • Compare the suggested queue
Leila Moreno
LM
Owen Patel
OP
Nadia Chen
NC
Fictional ratings for this example
bunx --bun shadcn@latest add @gnostic/hero-6

Wide image

Give the supporting image a wider column.

What should the agent say about the original box?

An AI draft tells every customer to keep the packaging. Read the sample returns policy to see when that advice applies.

  • Find the rule for fragile items
  • Check which product the customer named
  • Ask about the item if its type is unclear
Leila Moreno
LM
Owen Patel
OP
Nadia Chen
NC
Fictional ratings for this example
Sample image placeholder
bunx --bun shadcn@latest add @gnostic/hero-7

Image led

Let the image take more space than the introduction.

Where will your routing rule send these three tickets?

Use the gnostic AI sample kit to test a billing request, a setup question, and a ticket that asks about both. Record the expected queue before you run the rule.

Sample image placeholder
bunx --bun shadcn@latest add @gnostic/hero-8

Masked image

Fade the background media behind the text area.

Keep a duplicate invoice out of the payment queue

Copy a sample invoice and submit it twice. Check that the second draft points the reviewer to the first record.

  • Use the same supplier
  • Keep the original invoice number
  • Find the first draft
  • Count the drafts eligible for payment
Leila Moreno
LM
Owen Patel
OP
Nadia Chen
NC
Fictional ratings for this example
Sample image placeholder
bunx --bun shadcn@latest add @gnostic/hero-9

Spread overlay

Spread the title and actions over the background media.

Does the reply still fit the revised policy?

Repeat the original return requests after the policy changes. Compare each draft with the answer the policy owner now expects.

Leila Moreno
LM
Owen Patel
OP
Nadia Chen
NC
Fictional ratings for this example
Sample image placeholder
bunx --bun shadcn@latest add @gnostic/hero-10

Centered overlay

Center the introduction over the background media.

Choose a test before you connect a live queue

Compare three gnostic AI sample kits. Each one gives your team a way to check a ticket assignment, an invoice draft, or a customer reply.

Leila Moreno
LM
Owen Patel
OP
Nadia Chen
NC
Fictional ratings for this example
Sample image placeholder
bunx --bun shadcn@latest add @gnostic/hero-11

Editorial bar

Keep the introduction in a bordered bar above the image.

A ticket for two queues

Leila Moreno follows a ticket that asks about both billing and setup. See what reaches the reviewer when the routing rule finds two possible owners.

Sample image placeholder
bunx --bun shadcn@latest add @gnostic/hero-12

Compact split

Keep the text compact beside a larger image.

Choose a test kit for your pilot

The gnostic AI sample catalog includes support tickets, invoices, and a reply checklist. Compare the kits to find the inputs your team needs.

Sample image placeholder
bunx --bun shadcn@latest add @gnostic/hero-13

Page banner

Use a page introduction with a bordered bar and supporting image.

Explore the gnostic AI pilot projects

See how a team tests ticket assignments, checks a disputed invoice, or reviews a reply against the returns policy.

bunx --bun shadcn@latest add @gnostic/hero-full-image-2col

Orbit hero

Supply your own content. The section uses the selected project preset.

gnostic AI ยท Invoice intakeSample pilot for an accounts team

Would you approve this invoice?

In this sample for fictional print suppliers, an accounts team checks three invoices against one purchase order. Which draft can go to the approval queue?

River PaperElm BinderyOak Type
bunx --bun shadcn@latest add @gnostic/hero-orbit
PropType
contentOrbitHeroContent

Section content.

TypeOrbitHeroContent
class?string

Classes added to the root.

Typestring

Centered page title

Supply your own content. The section uses the selected project preset.

gnostic AI ยท Routing exercise

Which queue should get the third ticket?

Mountain ridge beyond a lake
Ticket routing test kit ยท Sample exercise
Sample tickets
3
Mixed request
1

Two tickets ask about billing or setup. The third asks about both. Write down who should receive each one before running the rule.

bunx --bun shadcn@latest add @gnostic/hero-centered-page
PropType
contentCenteredPageHeroContent

Section content.

TypeCenteredPageHeroContent
class?string

Classes added to the root.

Typestring

Editorial hero

Use this section for the hero part of a studio site. Set servicesHref to the services section or page, such as "#capabilities" or "/services". The template supplies "/#service". If you change the section ID, change this value too.

bunx --bun shadcn@latest add @gnostic/hero-featured-project
PropType
titlestring

Main heading.

Typestring
accentstring

Italic heading line.

Typestring
descriptionstring

Studio introduction.

Typestring
actionBlockLink

Main call to action.

TypeBlockLink
servicesBlockLink[]

Service links.

TypeBlockLink[]
servicesHrefstring

Destination for the services arrow. Supply a section fragment or page URL.

Typestring
featured{ title: string; href: string; image: BlockImageUrl }

Featured project.

Type{ title: string; href: string; image: BlockImageUrl }
image?BlockImageUrl

Optional foreground artwork.

TypeBlockImageUrl
video?string

Optional decorative video. Respects reduced motion.

Typestring
clientsstring[]

Client names.

Typestring[]
class?string

Classes for the root element.

Typestring

See serif accent font setup when installing this section.

Editorial intro

Use this section for the title of a secondary page.

gnostic AI ยท Reply review

Read the policybefore sending the draft

bunx --bun shadcn@latest add @gnostic/hero-serif-introduction
PropType
labelstring

Small section label.

Typestring
titlestring

Main heading text.

Typestring
accent?string

Optional italic heading text.

Typestring
description?string

Supporting copy.

Typestring
class?string

Classes for the root element.

Typestring

See serif accent font setup when installing this section.

Masked background

Place a heading and links above a background photo. Use the action prop for one link or the actions slot for custom buttons.

Illustration of an open field

gnostic AI ยท Sample project brief

Who answers a return request after the print fair?

A print seller wants help with return questions. Use the pilot brief to name the policy an AI draft should cite and the person who checks the reply.

Open the reply pilot brief
bunx --bun shadcn@latest add @gnostic/hero-masked-background

Choose a hero layout

Choose a hero from the content you have. A short service page can use a title and two actions. A product page may need a screenshot that explains the product. Portfolio and editorial variants place more weight on the work or story. Use one clear page heading and make the first action describe the next step.

Pass content from Astro

The variants have different prop types. For example, Hero 1 accepts title, description, an optional badge, buttons, and an image object. Import the block shown in the Code tab and pass your data into those props. Keep route queries and collection access in the page. Change sample claims and links before using the block in a real site.

Responsive layout and images

Test the actual heading at a narrow width; a short demo title does not reveal every line-wrap problem. Buttons can wrap, but their reading order should remain clear. Hero 1 uses an Astro image with responsive widths and eager loading. Supply a local image import where ImageMetadata is required. Choose a crop that keeps the subject visible and write alt text for what the image adds to the page.

Compose the next section

Follow the hero with Features that support its claim or Content that explains the offer. Use Reviews only for real evidence. A hero does not need an image when the image adds no useful information.

Named slots

These slots are optional. Use the slot name on a direct child of the block.

hero-masked-background

PropType
background?Astro content

Replaces the background image.

TypeAstro content
DefaultAstro Image from data.background
actions?Astro content

Sets the actions below the description.

TypeAstro content
DefaultCTA button when data.action is present

hero-orbit

PropType
background?Astro content

Adds a background layer behind the hero content.

TypeAstro content
mark?Astro content

Places the same mark before each client name.

TypeAstro content

page-top

PropType
buttons?Astro content

Adds actions after the buttons supplied through props.

TypeAstro content
image?Astro content

Adds content after the image supplied through props.

TypeAstro content