suiss/ui · Block
Hero Product
A centered product launch hero with an eyebrow, headline, two actions, a wide image, and a pricing line.
Hero Product is an open-source block from suiss/ui for React. The @esuiss/ui CLI copies its source into your project, so you own the code.
A centered launch hero with an eyebrow, a large product name and tagline, Learn more and Buy buttons, a wide product image and a pricing line. Elements fade and rise in with a slight stagger on load. It is a static server component, ready for a product or feature launch page.
Installation
CLI
Works in any project with a components.json. See Installation for the one-line registry setup. Or use the suiss/ui CLI:
Manual
-
Add the pieces it builds on: Button.
-
Copy the source into
components/blocks/hero-product.tsx:
- Update the import paths to match your project.
Usage
Replace the copy inline and the image URL in the image constant. The buttons have no handlers, so wrap them in links to your learn-more and purchase pages, and update the pricing line.
Notes
The image is an Unsplash placeholder. Entry animations are skipped when reduced motion is on.