byronwade/ui
Marketing & editorial

Video · Marketing & editorial

Video card

Versatile YouTube-style video item with vertical, compact, horizontal, overlay, and featured variants, composing a thumbnail, channel byline, custom badges/stats/actions, description, and overflow menu.

@byronwade/foundation@byronwade/thumbnail@byronwade/verified-badge@byronwade/avatar@byronwade/dropdown-menu@byronwade/utils@phosphor-icons/react

Feature showcase

Installation

Features

  • 4 examples

    Default, Horizontal, Overlay, Featured.

  • Tagged for youtube, video, tier:intermediate

API

Props

PropTypeDefaultDescription
variant"default" | "compact" | "horizontal" | "overlay" | "featured"defaultSwitches between feed tile, compact tile, row, overlay, and featured treatments.
size"sm" | "md" | "lg"mdControls title and avatar scale.
density"comfortable" | "compact"comfortableTightens spacing for dense surfaces.
titlestring-Video title.
channelNamestring-Channel display name.
thumbnailSrcstring-Poster image URL.
viewsnumber-View count for meta line.
descriptionReactNode-Optional search/featured-card supporting copy.
badgesReactNode-Optional label row above the title.
statsReactNode-Custom meta line replacing views/timestamp.
actionsReactNode-Inline action slot beside the body.
menuItemsOverflowMenuItem[]-Overflow ⋮ menu entries.

Dependencies

PackageKindDescription
@byronwade/foundationregistryInstalled through the byronwade/ui registry.
@byronwade/thumbnailregistryInstalled through the byronwade/ui registry.
@byronwade/verified-badgeregistryInstalled through the byronwade/ui registry.
@byronwade/avatarregistryInstalled through the byronwade/ui registry.
@byronwade/dropdown-menuregistryInstalled through the byronwade/ui registry.
@byronwade/utilsregistryInstalled through the byronwade/ui registry.
@phosphor-icons/reactnpmInstalled from npm.

Source and related

FilePath
Componentregistry/components/video-card.tsx
Default examplecontent/examples/video-card/default.tsx
Horizontal examplecontent/examples/video-card/horizontal.tsx
Overlay examplecontent/examples/video-card/overlay.tsx
Featured examplecontent/examples/video-card/featured.tsx