byronwade/ui
Application UI

UI · Application UI

Chip bar

YouTube-style single-select horizontal filter chip bar with edge fade and scroll affordance.

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

Feature showcase

Installation

Features

  • 1 example

    Default.

  • Tagged for youtube, video, tier:intermediate

API

Props

PropTypeDefaultDescription
optionsstring[]-Filter chip labels.
valuestring-Controlled selected chip.
onValueChange(value: string) => void-Fired when selection changes.

Dependencies

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

Source and related

FilePath
Componentregistry/ui/chip-bar.tsx
Default examplecontent/examples/chip-bar/default.tsx