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.
Installation
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.
Related
- Pro
Spotlight Reel Team
Carousels and reelsSix 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 chartsTwo 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 valuesRapid-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
Single Question Interview Team
Culture and valuesOne 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 clubsA 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 reelsFive 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.