Badge List

A list of badges with a title and items.

Implementation

npx shadcn@latest add @flx/badge-list

Usage

badge-list-example.tsx
import { BadgeList, type BadgeListProps } from './badge-list'

export const values = {
  title: 'Topics',
  description: 'Explore by category or focus area.',
  items: ['Design', 'Code', 'Ship', 'Scale', 'Open source', 'Docs'],
} satisfies BadgeListProps

export function BadgeListExample() {
  return (
    <BadgeList
      title={values.title}
      description={values.description}
      items={values.items}
    />
  )
}
Need help? Contact me