Growing Tree Hero

Wren & Alder, a tea house in the old orchard

Every cup begins with a tree.

Single-garden teas from our own orchard, poured slowly in a timber pavilion among the blossoms. Open from first light until the lanterns go on.

About this block

Growing Tree HeroPRO

A tea house hero built on the growing-tree component: beside a serif headline, an intro, an Arrow Pill and an underline link, a tree drawn like a fine ink botanical plate grows from a single point, opens small blossoms at its tips, then sways in a springy breeze while petals drift down and settle. Moving the cursor across it sends a gust through the branches, and a new tree grows now and then. Every tree setting passes through the tree prop; colors follow the theme and it shows the grown tree still for reduced motion.

Hero232: Growing Tree Hero

A split hero with a serif headline, an intro, an Arrow Pill and an underline link on the left, and the growing-tree component on the right: an ink botanical tree drawn on Canvas 2D that grows from a single point, opens blossoms at its tips, then sways while petals drift down.

Upgrade to Pro

Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.

Upgrade Now

Installation

Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/hero232?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/hero232?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/hero232.tsx plus the growing-tree component and the button23 and button2 buttons it uses.

Quick start

The installed file exports hero232Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.

tsx
import { Hero232, hero232Demo } from "@/components/beste/block/hero232";

export default function Page() {
  return <Hero232 {...hero232Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { Hero232 } from "@/components/beste/block/hero232";

export default function Page() {
  return (
    <Hero232
      eyebrow="Wren & Alder, a tea house in the old orchard"
      heading="Every cup begins with a tree."
      description="Single-garden teas from our own orchard, poured slowly in a timber pavilion among the blossoms."
      buttons={[
        { label: "Reserve a table", href: "/reserve" },
        { label: "Read the tea list", href: "/teas" },
      ]}
      tree={{
        seed: 7,
        duration: 8,
        branchColor: "var(--foreground)",
        blossomColor: "var(--primary)",
        paperColor: "var(--background)",
        regrow: 40,
      }}
    />
  );
}

Props

PropTypeDefaultDescription
eyebrowstring–Small muted line above the headline
headingstring–Serif headline, rendered as the page h1
descriptionstring–Intro under the headline
buttonsActionButton[][]The first renders as a dark Arrow Pill, every later one as a Button2 underline link
treeOmit<GrowingTreeProps, "className" | "children">–Forwarded to the GrowingTree component: seed, complexity, grow duration, branch, blossom and paper colors, blossoms, fall, wind, sway and regrow interval
classNamestring–Extra classes for the outer <section>
ts
type ActionButton = {
  label: string;
  href: string;
};

Behavior notes

  • Moving the cursor across the tree sends a gust through the branches, and with regrow set a new tree grows now and then.
  • GrowingTree pauses through an IntersectionObserver and on hidden tabs, and shows the fully grown tree still under prefers-reduced-motion.
  • Theme variables for branch, blossom and paper, as in the demo, keep the drawing in step with light and dark mode.
  • The grid is 5 and 7 columns from md; the tree frame is 26rem tall on phones and min(40rem, 100svh - 78px - 8rem) from md.
  • With reduced motion the copy and tree appear without their rise and fade.

More Hero blocks

View all Hero
PRO

hero244

Koi Pond Hero

PRO

hero271

Arched Window Sky Hero

PRO

hero216

Reaction Diffusion Hero

Get Pro access