byronwade/ui
Marketing & editorial

Video · Marketing & editorial

Engagement bar

YouTube-style watch-page action row: connected like/dislike segmented pill, plus share, save, custom action, and overflow-menu pills.

@byronwade/foundation@byronwade/separator@byronwade/dropdown-menu@byronwade/utils@phosphor-icons/react

Feature showcase

Installation

Features

  • 1 example

    Default.

  • Tagged for youtube, video, tier:intermediate

API

Props

PropTypeDefaultDescription
likeToggleState-Grouped like toggle `{ value, defaultValue, onValueChange }`.
dislikeToggleState-Grouped dislike toggle.
saveToggleState-Grouped save/watch-later toggle.
likeCountnumber-Compact like count beside thumbs-up.

Dependencies

PackageKindDescription
@byronwade/foundationregistryInstalled through the byronwade/ui registry.
@byronwade/separatorregistryInstalled 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/engagement-bar.tsx
Default examplecontent/examples/engagement-bar/default.tsx