Two Linked Directories

About this block

Two Linked DirectoriesPRO

Two ruled directories side by side under their own small-caps headings, every row a link carrying a serif label, a line of context and an arrow that lifts as the row tints on hover.

Usecase60: Two Linked Directories

Two ruled directories side by side under their own small-caps headings, every row a link.

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

Base UI flavor

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

This installs the block to components/beste/block/usecase60.tsx plus the button22 sliding-marker pill and the text1 word stagger it uses.

Quick start

The installed file exports usecase60Demo alongside the block: the exact props behind the preview above. Spread it to get a working two Linked Directories in one line.

tsx
import { Usecase60, usecase60Demo } from "@/components/beste/block/usecase60";

export default function Page() {
  return <Usecase60 {...usecase60Demo} />;
}

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

tsx
import { Usecase60 } from "@/components/beste/block/usecase60";

export default function Page() {
  return (
    <Usecase60
      eyebrow="Two ways to look"
      heading="By who you are, or by what you do."
      button={ label: "Talk it through instead", href: "/contact", tone: "outline" }
      columns={[
        {
          title: "By who you are",
          links: [{ label: "Couples", description: "Fortnightly, in the room", href: "/couples" }],
        },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
eyebrowstringSmall-caps line above the heading
headingstringSection heading, rendered as an h2 through Text1
buttonActionButtonPill action centred under the columns
columnsColumn[][]Two directories, side by side from md
classNamestringExtra classes for the outer <section>
ts
type ColumnLink = {
  label: string;
  description?: string;
  href: string;
};

type Column = {
  title: string;
  links: ColumnLink[];
};

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

Behavior notes

  • Each row is one Link with its own arrow, so the two directories behave the same way whichever side a reader starts on.
  • The rows tint on hover rather than the labels moving, so the two columns stay level with each other.
  • Only the column headings are small-caps; row labels stay serif at sentence case, keeping one uppercase line per column.
  • description is optional per row, so a directory can mix bare labels with explained ones.
  • Columns stack below md with their headings intact, so the two axes remain distinguishable on a phone.
  • Entry delay is per column rather than per row, so the two sides arrive one after the other.

More Use Case blocks

View all Use Case
PRO

usecase59

Linked Situation Rows

Five situations as ruled rows, each one a whole link: a square photograph pinned left, a serif sentence over its paragraph, and an arrow link at the right end that lifts as the row tints on hover.

PRO

usecase58

Linked Setting Tiles

Six photographic tiles in a three-column grid, every one a whole link: the photograph drifts behind a gradient carrying a meta line, a serif title, a sentence of context and an arrow that lifts on hover.

PRO

usecase62

Three Linked Paths

Three route cards ordered from slowest to quickest, each one a whole link with a pace label, a serif title, a paragraph and a dotted pair of details; the middle route inverts to ink to mark the usual choice.

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

usecase61

Linked Story Cards

Three case studies, each card a whole link: a photograph drifting inside its frame, a serif figure with the span it covers, the story in two sentences and an attribution facing an arrow that lifts on hover.

PRO

usecase42

Multi-Site Locations

A multi-site use case with an eyebrow over a hairline rule, a two-column heading, and three image tiles that each float a live location card above a title and description.