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*stringChip text content
sizestringChip size
variantstringVisual style variant
radiusstringBorder radius style
closablebooleanfalseShow close/remove button
activatedbooleanfalseActive/selected state
disabledbooleanfalseDisabled state
typestringChip type
ariaLabelstringAccessible label
closeAriaLabelstringAccessible label for close button