Ask At Any Size Tabs

Things you can ask for

Fromawholepagetoasinglebutton.

The library is layered. Ask at whichever size fits the moment.

Whole pages, composed

A landing page, a pricing page or an about page arrives as a set of sections that already agree with each other.

Try asking

  • Build a landing page for a therapy practice.
  • Make a pricing page with three plans and a FAQ.
  • Add an about page with the team and a timeline.
Turquoise shallows and a pebble beach seen from above
About this block

Ask At Any Size TabsPRO

A header with a serif headline that settles in word by word and a pill that copies the install command on click, then a rounded pill tab list (pages, sections, components). Each tab pairs a title, a paragraph and a short list of example prompts in mono with a photo that blurs in and drifts on scroll.

Feature298: Ask At Any Size Tabs

Three tabs for the three sizes a request can take: whole pages, single sections, or the small parts, each with example prompts beside a photograph that drifts on scroll.

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

Base UI flavor

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

This installs the block to components/beste/block/feature298.tsx plus the text1 word stagger and the shadcn tabs primitive it uses.

Quick start

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

tsx
import { Feature298, feature298Demo } from "@/components/beste/block/feature298";

export default function Page() {
  return <Feature298 {...feature298Demo} />;
}

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

tsx
import { Feature298 } from "@/components/beste/block/feature298";

export default function Page() {
  return (
    <Feature298
      eyebrow="Things you can ask for"
      heading="From a whole page to a single button."
      description="The library is layered. Ask at whichever size fits the moment."
      command="npx your-cli@latest"
      copyLabel="Copy command"
      copiedLabel="Copied"
      promptsLabel="Try asking"
      tabs={[
        {
          tabLabel: "Pages",
          title: "Whole pages, composed",
          description: "A landing page arrives as a set of sections that agree with each other.",
          prompts: ["Build a landing page for a therapy practice."],
          image: { src: "/photos/cove.jpg", alt: "A rocky cove with wildflowers above turquoise water" },
        },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
eyebrowstringSmall-caps line above the heading
headingstringSection heading, through Text1
descriptionstringParagraph under the heading
commandstringThe install command; clicking the pill copies it
copyLabelstringAccessible name for the pill in its resting state
copiedLabelstringAccessible name and live-region text once copied
promptsLabelstringSmall-caps label above each prompt list
tabsTab[][]Tabs in order; the first is open on load
classNamestringExtra classes for the outer <section>
ts
type Tab = {
  tabLabel: string;
  title: string;
  description: string;
  prompts: string[];
  image: { src: string; alt: string };
};

Behavior notes

  • Tabs are the shadcn primitive rather than a hand-rolled useState switch, which is what gives the arrow-key navigation and the roving focus for free.
  • tabLabel doubles as the tab's value, so labels must be unique within one block.
  • The trigger list is a pill rather than the default underline: rounded, muted, with the active trigger taking the paper surface and no shadow.
  • All tab panels share one scroll target, so a picture revealed by switching tabs picks up the parallax already in progress rather than starting from zero.
  • Each picture fades up only once its own file has loaded, so switching to a tab whose image is cold does not flash an empty frame.
  • Prompts are muted mono panels with a chevron marker, deliberately not inputs, so nobody tries to type into them.
  • The command pill sits at the right end of the heading, which keeps the tab list as the first thing under the header.

More Feature blocks

View all Feature
PRO

feature278

Two Doors Tabs

A tabbed comparison under a centred serif heading that settles in word by word: pill tabs switch between approaches, each blurring in a drifting portrait photograph beside a serif title, a description, a ruled fact list and a sliding-marker pill.

PRO

feature292

Install Ask Ship Steps

Three numbered columns under rules that draw in from the left as they scroll into view: the first carries a rounded pill that copies the install command on click, the next two show a sample prompt and a resulting file path in muted mono panels. Serif headline settles in word by word, a sliding-marker pill sits at the right end of the header.

PRO

feature296

Sticky Command List

A sticky left column holds the eyebrow, a serif headline that settles in word by word, an intro, a rounded pill that copies the install command on click and a sliding-marker pill; on the right a long ruled list of numbered points settles in row by row as the page scrolls past.

PRO

feature299

Turning Requests Panel

A centred serif headline that settles in word by word, then an ink panel that cycles through short request and reply pairs: the request in serif, the reply in mono a beat later, with thin progress bars to jump between them and a pause on hover. A pill that copies the install command on click and a sliding-marker pill close the section.

PRO

feature294

Six Gains Ruled Grid

A header with a serif headline that settles in word by word and, at its right end, a rounded pill that copies the install command on click; below it a ruled two by three grid of thin icons, serif titles and short paragraphs that settle in one after another as they scroll into view.

PRO

feature293

Agent Transcript

A split feature: on the left a serif headline that settles in word by word, an intro, a rounded pill that copies the install command on click and a sliding-marker pill; on the right a muted transcript panel where a short exchange with the agent appears message by message, one reply carrying a page preview that blurs in and drifts on scroll.