byronwade/ui
Marketing & editorial

Video · Marketing & editorial

Comment

A YouTube-style threaded comment with author, like/dislike, reply, pinned/creator-heart tags, and a replies disclosure.

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

Feature showcase

Installation

Features

  • 1 example

    Default.

  • Tagged for youtube, video, tier:intermediate

API

Props

PropTypeDefaultDescription
authorstring-Commenter display name.
bodystring-Comment text.
likesnumber-Like count.
pinnedboolean-Show pinned badge.

Dependencies

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

Source and related

FilePath
Componentregistry/components/comment.tsx
Default examplecontent/examples/comment/default.tsx