A list of badges with a title and items.
npx shadcn@latest add @flx/badge-listimport { 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}
/>
)
}
A list of badges with a title and items.
npx shadcn@latest add @flx/badge-listimport { 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}
/>
)
}