Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Poster and Playlist Video Introductions Team Block for React

Four video introductions from a customer-story studio as a framed poster drawn from UI beside a playlist of four rows with fixed durations, where the Watch button is a link to the film's own page and nothing plays on the page.

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 video-introductions section for React with Base UI, for Moorside, a customer-story studio. A reverse split with a divider: the poster comes first in the DOM, in a framed 16:9 box drawn from UI (a large initials disc, a caption line, a name plate, a duration chip and a control bar with an empty progress line), with the person's name, role and first line as a real caption under it; beside it sit the header and a playlist of four intros, each row an initials avatar, a name, a role and a fixed duration. Pick a row and the poster changes. Nothing plays on this page: the poster is a drawing, and Watch, the one Shine Button, is a link to the film's own page, with a line under it that says so. On a phone the poster comes first, then the playlist. It's built from Toggle Group, Avatar, Shine Button and Guides, with CSS entrances and your theme's tokens. For about pages and sales pages that want faces before a call. The people, their lines and the durations are made up.

FAQ

How do I change the people and the films?

Edit INTROS at the top of the file. An intro is a name, a first name, a role, a caption (the film's first words), a fixed duration ("1:42") and the href of the page that holds the film. The poster, the caption under it, the Watch link and the playlist row are all drawn from that one entry, so adding a person is one object.

Why doesn't anything play?

The poster is a drawing made of the page's own elements, and its control bar shows an empty progress line that never moves; the whole drawing is hidden from assistive technology. Watch is an ordinary link, so the player, the consent for a video host and the data it loads stay on the page that owns the film. To play in place, put your player where the poster is and keep the poster as its placeholder.

What does Watch do?

It follows href, which in this example is # because the films are invented. Its label names the picked person and carries the duration for screen readers ("Watch Hana's intro (2:05)"). Watch renders the link it is given with render, with nativeButton={false}.

How does the playlist work with a keyboard and a screen reader?

It is a group of toggle buttons named Introductions, with exactly one picked at all times. Tab moves into it and the arrow keys move between the rows, picking as they go; a polite status line says which introduction is shown. The picked row is a solid foreground bar, so it reads without colour.

Does the block change height when I pick someone?

No. The poster has a fixed 16:9 shape, and the caption under it reserves room for the longest line, so the left column keeps its size. The playlist rows have one height.

How does it fit on a phone?

The header, then the poster with its caption and the Watch button, then the playlist as full-width rows. The poster's drawing scales down: the disc and the text shrink, and the caption line is cut with an ellipsis (the full line is in the real caption under it).

  • Pro

    Spotlight Reel Team

    Carousels and reels

    Six people of a seed-saving cooperative as master and detail: a vertical list of names and roles at the start, and at the end the chosen person as type, with their words at display size, a bio and two figures.

  • Pro

    Founders Face to Face Team

    Leaders and org charts

    Two founders of a grant-writing tool side by side, each with a list of what they did before, what they built and what they own now, and a centre column reading Met in Year 0 with a line on how they met.

  • Pro

    Rapid Fire Interview Team

    Culture and values

    Rapid-fire answers from five people at a meal-prep company: underline tabs, one per person, and under the chosen one a definition list of the same four questions, so you can read down one person or compare across.

  • Pro

    One interview read one question at a time: the person and the title in a first column, and in the second a counter, a row of ticks, the question set large, its answer and Previous and Next buttons.

  • Pro

    Podcasts Team

    Interests and clubs

    A podcast host's own show: the latest episode in a framed cell with a drawn waveform and a Listen link, over earlier episodes as rows with a length bar and a Newest or Longest switch.

  • Pro

    Stories Viewer Team

    Carousels and reels

    Five teammates of a crop-planning app as a stories viewer: five segments that fill in turn, one sentence at a time in large type, a visible Pause, Previous and Next buttons, arrow keys and swipe.