Skip to content

Chip ​

Compact interactive tag for filters, selections, and categorization.

Open in Storybook

Interactive Demo ​

Variants ​

Chip styles

Usage ​

vue
<script setup>
import { Chip } from '@yellowcard/b2b-design-system';
</script>

<template>
  <Chip label="Bitcoin" />
  <Chip label="Active" closable @close="handleRemove" />
</template>

API Reference ​

Props ​

PropTypeDefaultDescription
label*string—Chip text content
sizestring—Chip size
variantstring—Visual style variant
radiusstring—Border radius style
closablebooleanfalseShow close/remove button
activatedbooleanfalseActive/selected state
disabledbooleanfalseDisabled state
typestring—Chip type
ariaLabelstring—Accessible label
closeAriaLabelstring—Accessible label for close button