byronwade/ui
Marketing & editorial

Video · Marketing & editorial

Video shelf

Versatile video content section with carousel, grid, rail, and stack layouts plus optional header copy, empty/loading states, item sizing, and scroll controls.

@byronwade/foundation@byronwade/skeleton@byronwade/utils@phosphor-icons/react

Feature showcase

Installation

Features

  • 4 examples

    Default, Grid, Rail, Watch Page.

  • Tagged for youtube, video, tier:intermediate

API

Props

PropTypeDefaultDescription
variant"carousel" | "grid" | "rail" | "stack"carouselControls the shelf layout.
density"comfortable" | "compact"comfortableControls header and item spacing.
controls"hover" | "always" | "none"hoverControls horizontal scroll-button visibility.
titleReactNode-Optional shelf heading.
descriptionReactNode-Optional copy under the title.
actionReactNode-Trailing header action.
emptyReactNode-State rendered when no children are provided.
loadingboolean-Render skeleton placeholders instead of children.
childrenReactNode-Shelf items.

Dependencies

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

Source and related

FilePath
Componentregistry/components/video-shelf.tsx
Default examplecontent/examples/video-shelf/default.tsx
Grid examplecontent/examples/video-shelf/grid.tsx
Rail examplecontent/examples/video-shelf/rail.tsx
Watch Page examplecontent/examples/video-shelf/watch-page.tsx