Audience Tabs

For whom

Thesamerooms,threedifferentreasonstobeinthem.

For one person carrying too much

Weekly or fortnightly therapy with one steady practitioner, for what has been heavy for a while.

  • In the room or online
  • 60 or 75-minute sessions
  • A written note after each one
Start on your own
A pine-backed cove crowded with swimmers
About this block

Audience TabsPRO

A who-is-it-for section with pill tabs under a serif heading that settles in word by word: each audience blurs in a serif title, a description, dotted points and a sliding-marker pill beside a portrait photograph drifting inside its frame.

Usecase56: Audience Tabs

Three audiences behind a pill tab bar: choosing one blurs in a portrait photograph that drifts inside its frame beside a serif title, a paragraph, a ruled list of points and that audience's own action.

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/usecase56?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

This installs the block to components/beste/block/usecase56.tsx, the shadcn tabs primitive it is built on, and the button22 sliding-marker pill and the text1 word stagger it uses.

Quick start

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

tsx
import { Usecase56, usecase56Demo } from "@/components/beste/block/usecase56";

export default function Page() {
  return <Usecase56 {...usecase56Demo} />;
}

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

tsx
import { Usecase56 } from "@/components/beste/block/usecase56";

export default function Page() {
  return (
    <Usecase56
      eyebrow="For whom"
      heading="The same rooms, three different reasons to be in them."
      audiences={[
        {
          tabLabel: "Individuals",
          title: "For one person carrying too much",
          description: "Weekly or fortnightly therapy with one steady practitioner.",
          points: ["In the room or online", "60 or 75-minute sessions"],
          button: { label: "Start on your own", href: "/therapy", tone: "dark" },
          image: { src: "/photos/pines.jpg", alt: "Pine trees in soft morning fog" },
        },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
eyebrowstringSmall-caps line above the heading
headingstringSection heading, rendered as an h2 through Text1
audiencesAudience[][]The audiences; the first is selected on mount
classNamestringExtra classes for the outer <section>
ts
type Audience = {
  tabLabel: string;
  title: string;
  description: string;
  points: string[];
  button: ActionButton;
  image: { src: string; alt: string };
};

type ActionButton = {
  label: string;
  href: string;
  tone?: "primary" | "light" | "dark" | "outline";
};

Behavior notes

  • tabLabel doubles as the tab's value, so two audiences must not share a label; give them distinct names and the tabs track correctly.
  • defaultValue is read from the first audience, so the section opens on a real panel rather than with nothing selected.
  • Each panel animates on animate rather than whileInView, because a tab panel mounts when its tab is chosen and would otherwise never have a moment to arrive.
  • The tab rail is restyled into a pill track, with the active trigger inverting to the ink surface and its shadow removed, which is the set's language rather than the shadcn default.
  • Keyboard support comes from the shadcn Tabs: arrow keys move between audiences and the panel follows.
  • Each audience carries its own button, so the three can point at entirely different flows.
  • The points list is ruled with divide-y between rows, so a short list of three reads as a small table rather than as bullets.

More Use Case blocks

View all Use Case
PRO

usecase49

Audience Tabs With Photo

Pill tabs for each audience swap a split panel holding a tall photograph beside a title, summary and ruled list of what that audience actually gets.

PRO

usecase54

Four Situations

A who-this-is-for section: a serif heading that settles in word by word beside the intro and a pill action, then four soft muted cards, each numbered, with a serif situation title, a short description and an arrow link that lifts on hover.

PRO

usecase55

Is This You

A self-recognition list: a sticky column with a serif heading that settles in word by word, an intro and a pill action, beside ruled serif statements that each blur in as they reach the viewport, marked with a small ringed check, and a closing line beneath.

PRO

usecase1

Interactive Tab Showcase

Tab-based use case section with images, descriptions, and feature checklists that collapse to accordion on mobile. Perfect for showcasing how different teams or departments use your product.

PRO

usecase57

Linked Audience Cards

Four hairline cards, each a whole link opening with a round portrait, then a quiet label, a serif title, a line of who it is for and an arrow that lifts on hover.

PRO

usecase14

Segmented Control Tabs

Segmented control style tabs with split layout showing image, description, and bullet point features. Perfect for comparing solution approaches or product capabilities.