Skip to main content
Clever Ops

Team Directory Rows

Dense industry-neutral directory rows under alphabetical mono group headers, name, role, and location column ruled by hairlines; scales from ten people to two hundred.

Preview & code

Loading Team Directory Rows preview

Installation

pnpm dlx shadcn@latest add @cleverui/team-directory-rows

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { TeamDirectoryRows } from '@/components/blocks/team-directory-rows'
Exampletsx
import { TeamDirectoryRows } from '@/components/blocks/team-directory-rows'

export default function TeamDirectoryRowsDemo() {
  return (
    <div className="mx-auto w-full">
      <TeamDirectoryRows
        eyebrow="Directory"
        heading="People"
        members={[
          {
            name: 'Aisha Rahman',
            role: 'Staff Engineer · Platform',
            location: 'Melbourne, AU',
            href: '#aisha-rahman',
          },
          {
            name: 'Ben Okonkwo',
            role: 'Product Design Lead',
            location: 'London, UK',
            href: '#ben-okonkwo',
          },
          {
            name: 'Camille Duval',
            role: 'Engineering Manager · Data',
            location: 'Paris, FR',
          },
          {
            name: 'Diego Marquez',
            role: 'Senior Backend Engineer',
            location: 'Mexico City, MX',
            href: '#diego-marquez',
          },
          {
            name: 'Elena Vasquez',
            role: 'Head of Support',
            location: 'Austin, US',
          },
          {
            name: 'Farah Al-Hassan',
            role: 'Security Engineer',
            location: 'Dubai, AE',
            href: '#farah-al-hassan',
          },
          {
            name: 'Gabriel Soto',
            role: 'Frontend Engineer · Design Systems',
            location: 'Buenos Aires, AR',
          },
          {
            name: 'Hana Takahashi',
            role: 'Research Scientist',
            location: 'Tokyo, JP',
            href: '#hana-takahashi',
          },
          {
            name: 'Imani Brooks',
            role: 'Customer Success Lead',
            location: 'Toronto, CA',
          },
          {
            name: 'Jonah Reed',
            role: 'Founding Designer',
            location: 'Lisbon, PT',
            href: '#jonah-reed',
          },
          {
            name: 'Keisha Morgan',
            role: 'VP Engineering',
            location: 'New York, US',
            href: '#keisha-morgan',
          },
          {
            name: 'Liam Okafor',
            role: 'Infrastructure Engineer',
            location: 'Lagos, NG',
          },
          {
            name: 'Maya Chen',
            role: 'Product Manager · Billing',
            location: 'Singapore, SG',
            href: '#maya-chen',
          },
          {
            name: 'Noah Patel',
            role: 'Staff SRE',
            location: 'Bangalore, IN',
          },
          {
            name: 'Olivia Hart',
            role: 'Content Lead',
            location: 'Portland, US',
            href: '#olivia-hart',
          },
          {
            name: 'Priya Nair',
            role: 'ML Engineer',
            location: 'Sydney, AU',
          },
        ]}
      />
    </div>
  )
}

API reference

TeamDirectoryRows accepts the following props.

PropTypeDefaultDescription
headingstring'People'section heading; level overridable via headingLevel
eyebrowstring'Directory'mono micro-label above the heading, preceded by the primary tick
members*TeamDirectoryMember[]
groupedbooleantruesort A–Z and insert alphabetical letter headers; false preserves given order
headingLevel2 | 32

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Referenced types

Typestsx
export interface TeamDirectoryMember {
  name: string
  role: string
  /** short PREFORMATTED string like 'Melbourne, AU' */
  location?: string
  /** when set, the whole row is a link */
  href?: string
}

Frequently asked questions

How do I install the Team Directory Rows component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/team-directory-rows`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Team Directory Rows require?

Team Directory Rows uses motion on top of React and Tailwind CSS. You don't need to install it manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Team Directory Rows to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services