Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Tenure Mosaic About Block for React

A tenure mosaic for a design-collaboration company: founders and first hires in large tiles with a fun fact on view, and newer teammates in small tiles whose fact opens in a hover card.

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 tenure mosaic for React with Base UI, written for Tessellby, a fictional canvas for designing together. A short header sits over a hairline bento that runs from rail to rail. Tile size follows tenure: the founder and the first hire are 2 by 2, with the fun fact written in the tile, and everyone who joined later is 1 by 1. On a small tile the fact opens in a Hover Card on hover and on keyboard focus, and the same fact is in the cell, so a screen reader and a touch screen can read it without the card. Two columns on a phone, four from lg, with both large tiles first so every row is full. The page's rails and top rule come from the Guides spine, and the mosaic ends the block. It's built from Avatar, Hover Card and Guides, with a CSS entrance and your theme's tokens for every colour. For an about page that should show who has been here longest without a table. The people and the facts are example data, and tenure is "Year 1" counted from the company.

FAQ

How do I change the team?

The people are PEOPLE. Large tiles come first and have wide set; everyone else is a small tile. Each person has a first name, a last name, a role, a since such as 4 for "Year 4", and a fact. The header counts the large tiles and the small ones from that list. Keep both large tiles at the start: on four columns they sit side by side, and on two columns each one fills the row.

How is it read by a screen reader?

The heading is the section's only h2. Every person is an h3. On a large tile the role, the year and the fact are text in the cell. On a small tile the name is a button described by the fact, and the fact is in the cell as well as in the card. The initials avatar is decorative, because the name is written beside it. The lines are drawn by a layer hidden from assistive technology.

When does the fun fact open?

On a small tile the card opens on hover and on keyboard focus. On a touch screen, where a card cannot be relied on, the fact is shown in the cell. A long-press may also open the card, but the block does not depend on it. Nothing is only in the card: the large tiles show the fact outright, and the small tiles keep it in the cell.

Why are some tiles larger?

Tenure. The founder and the first hire, the earliest since values, are the 2 by 2 tiles. Later teammates are 1 by 1. The size is the wide flag on the person, not a measurement the browser makes.

How does it fit on a phone?

Two columns. Each large tile spans the row and is two rows tall, then the small tiles pair up. From lg it is four columns: the two large tiles side by side, then two rows of small tiles. There is no three-column step, which would leave a hole. Nothing scrolls sideways at 320 pixels, and in a right-to-left layout the tiles follow the reading direction.

What moves, and what happens with reduced motion?

The header fades up once on load. With reduced motion it simply appears. The block has no autoplay and does not move a tile on its own. The file has no state of its own; the card is the only interactive part.

  • Pro

    Twelve drawn customer wordmarks for a parcel-logistics company in cells that share their hairlines, each opening a hover card with the shop's trade, how long it has been a customer and what it sends.

  • Pro

    Values Bento About

    Culture and values

    A bento of six values for a community-forum company: three tall cells that each carry a story of what the value looked like in a nested quote, and three one-line cells stacked beside them, in shared hairlines.

  • Pro

    Repo Cards Open Source About

    Press and recognition

    Three repository cards for a developer toolkit, drawn like repo headers: owner and name, a description, a language letter, rolling star counts, forks, contributor initials and latest release, with a used-by line.

  • Pro

    Grid Cards Team

    Grids and walls

    Twelve people of a restaurant-software company in a hairline grid that runs from rail to rail, each an initials avatar with a name, a role, a department badge and a city, under a department picker that brings the picked team to the front and dims everyone else.

  • Pro

    The front page of a newsletter platform's blog laid out like a magazine: a category filter, a featured story with a drawn typographic cover, two small stories and a wide one, and the other categories dimmed when one is chosen.

  • Pro

    Advisory Board About

    Team and leaders

    An advisory board for a legal-software company: five advisors in an accordion, each with the practices they cover, why they advise, and one piece of advice.