DDBS UI
heroes

Store Intro Hero

A short shop intro: heading, a line of promise, actions and up to three icon features, as a roomy split or one compact strip, with an optional band underneath.

npx shadcn@latest add https://ui.develop-better-solutions.com/r/store-intro-hero.json
Fullscreen

Organic farm food, Morocco

Fresh from the farm,
picked this morning

Fruit, vegetables, juices and bread from named organic farms. Pick a delivery slot and we bring it chilled to your door.

  • Picked this morning

    Harvested the day we pack it.

  • Named farms

    Every product names where it grew.

  • Chilled delivery

    Pick a slot, we bring it cold.

Real food from named farms

Bread, eggs, chicken and meat from small farms, delivered chilled in a two hour slot.

  • Picked this morningHarvested the day we pack it.
  • Named farmsEvery product names where it grew.
  • Chilled deliveryPick a slot, we bring it cold.

Usage

store-intro-hero-example.tsx
import { Map, Snowflake, Sun } from "lucide-react";
import { StoreIntroHero } from "@dbs/ui";

const features = [
  { id: "1", icon: <Sun className="h-5 w-5" />, title: "Picked this morning", text: "Harvested the day we pack it." },
  { id: "2", icon: <Map className="h-5 w-5" />, title: "Named farms", text: "Every product names where it grew." },
  { id: "3", icon: <Snowflake className="h-5 w-5" />, title: "Chilled delivery", text: "Pick a slot, we bring it cold." },
];

export default function StoreIntroHeroExample() {
  return (
    <div className="grid w-full gap-8 bg-surface pb-8" style={{ "--ui-accent": "#2f7d3a", "--ui-on-accent": "#fff" } as React.CSSProperties}>
      <StoreIntroHero
        id="split"
        kicker="Organic farm food, Morocco"
        title={<>Fresh from the farm,<br /><strong>picked this morning</strong></>}
        description="Fruit, vegetables, juices and bread from named organic farms. Pick a delivery slot and we bring it chilled to your door."
        actions={[{ label: "Shop the harvest", href: "#" }, { label: "Deals of the day", href: "#", variant: "link" }]}
        features={features}
      />
      <StoreIntroHero
        id="strip"
        variant="strip"
        title={<>Real food from <strong>named farms</strong></>}
        description="Bread, eggs, chicken and meat from small farms, delivered chilled in a two hour slot."
        features={features}
      />
    </div>
  );
}