byronwade/ui
Marketing & editorial

Video · Marketing & editorial

Description box

YouTube watch-page description panel with a views/date header and collapsible body text that expands via "...more" / "Show less".

@byronwade/foundation@byronwade/utils

Feature showcase

Installation

Features

  • 1 example

    Default.

  • Tagged for youtube, video, tier:simple

API

Props

PropTypeDefaultDescription
viewsnumber-View count in the header.
publishedAtstring-Relative or absolute date.
childrenReactNode-Description body (collapsible).

Dependencies

PackageKindDescription
@byronwade/foundationregistryInstalled through the byronwade/ui registry.
@byronwade/utilsregistryInstalled through the byronwade/ui registry.

Source and related

FilePath
Componentregistry/components/description-box.tsx
Default examplecontent/examples/description-box/default.tsx