byronwade/ui
Application UI

UI · Application UI

Thumbnail

Video thumbnail tile with optional duration pill, watched-progress bar, and live chip.

@byronwade/foundation@byronwade/aspect-ratio@byronwade/utils@phosphor-icons/react

Feature showcase

Installation

Features

  • 1 example

    Default.

  • Tagged for youtube, video, tier:simple

API

Props

PropTypeDefaultDescription
srcstring-Thumbnail image URL.
durationstring-Optional duration pill label (e.g. 12:34).
progressnumber-Watched progress 0–100 for the bottom bar.
liveboolean-Show the LIVE chip overlay.

Dependencies

PackageKindDescription
@byronwade/foundationregistryInstalled through the byronwade/ui registry.
@byronwade/aspect-ratioregistryInstalled through the byronwade/ui registry.
@byronwade/utilsregistryInstalled through the byronwade/ui registry.
@phosphor-icons/reactnpmInstalled from npm.

Source and related

FilePath
Componentregistry/ui/thumbnail.tsx
Default examplecontent/examples/thumbnail/default.tsx