Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Owner Lookup Handbook Team Block for React

A handbook lookup in a split: a search field in the start column and a table of eight topics with their owner, backup and channel in the end column, where typing moves the matching topics to the front and dims the rest.

Framework
UI library

Preview

Preview width

Installation

Part of Pro
Pro unlocks the code and one-line install of every Pro button and text effect, plus the MCP for your AI editor.
Have Pro already? Sign in to open it.Opens here as soon as you're Pro.

Overview

A handbook lookup for React with Base UI, for Bamburgh, an internal-wiki tool. A split with a divider: the start column holds the header ("Who owns what at Bamburgh"), a labelled search field and a status line; the end column is a table of eight topics (Expenses, Security incident, Time off, Design review and four more) with the owner as an initials avatar and a name, a backup and the channel to ask in. The table runs to the rail and ends the block. Type a topic, a person or a channel and the matching rows move to the front while the rest stay in place, dimmed, so the table keeps its height; a polite line says how many match. On a phone the table is a single column, with the owner, backup and channel under each topic. It's built from Input Group, Avatar and Guides, with CSS transitions and your theme's tokens. For onboarding pages and internal wikis. The people, topics and channels are made up.

FAQ

How do I change the topics?

Edit TOPICS at the top of the file. A topic is a title, an owner with their role, a backup and a channel. The search matches the title, the owner, the backup and the channel, case-insensitively, so there is nothing else to wire. Eight rows fill the block; more rows make it taller, and the table keeps working at any length.

Why are the other topics dimmed instead of hidden?

Hiding rows would shrink the table and move whatever is below it, and an empty result would leave a void. Instead the matches go first, in their usual order, and the others stay below with a light tint and muted text that still meets AA contrast. When nothing matches, every row is shown dimmed and the status line says so.

How does the table fit on a phone?

Below sm the Owner, Backup and Channel columns are hidden and their content moves under the topic, in the first cell: the owner with their role, then the backup and the channel. The table stays a native table, one column wide, with no sideways scroll; the search field is full width above it.

Is it a real table for screen readers?

Yes: a native table with a caption, column headers and each topic as a row header, the same on all seven targets. Channel names are wrapped so a right-to-left page keeps the # in front.

Does anything leave the page?

No. The search filters the list in the browser and nothing is sent anywhere. For a large handbook, filter on the server and keep the same table.

  • Pro

    Searchable Directory Team

    Lists and directories

    A field-service company's eighteen people in one table, under a ruled band with a search field, department and city selects, a live count and a clear button, with an empty state when nobody matches.

  • Pro

    Command Palette Search Team

    Lists and directories

    A people palette in a framed window for a team wiki: a live command box over twelve people and four teams, matched letters marked, arrow keys to move, and the highlighted entry's profile with its local time beside the list.

  • Pro

    Reviewer Finder Team

    Skills and expertise

    A reviewer finder for a code-review assistant: an area Select ranks the three people who know it best by expertise with their open reviews as a small bar, and the one Shine Button names whoever is chosen.

  • Pro

    Weekly office hours of a pair-programming service: five day tabs, each with three engineers' half-hour slots as pills, and a single Shine Button that reads 'Book Thu 14:00 with Noor' once a slot is picked.

  • Pro

    Channel Matrix Team

    Hours and places

    How to reach the people at an uptime monitor: one table of people by chat, email, video and phone, with the channel to try first drawn as a filled check, how fast each replies, and a caption for urgent.

  • Pro

    Buddy Page Team

    Hiring and onboarding

    A buddy page for an expense-report tool: the new hire and their buddy side by side with a link between them, a five-day first-week list, and three people to ask, each with what to ask them about.