Skip to content

Chip

A small block of information that displays input information, attributes, or actions.

Installation

sh
npm add @heroui-vue/chip
sh
pnpm add @heroui-vue/chip
sh
yarn add @heroui-vue/chip
sh
bun add @heroui-vue/chip

Usage

Chip

Disabled

Chip

Sizes

SmallMediumLarge

Colors

DefaultPrimarySecondarySuccessWarningDanger

Radius

FullLargeMediumSmall

Variants

SolidBorderedLightFlatFadedShadowDot

Start and End Content

Chip Chip

With Close Button

Chip Chip

With Avatar

H HeroUI Vue

Style Slots

  • base: The base slot of the Chip, which is the container of the Chip.
  • content: The content slot of the Chip, which is the container of the Chip's children.
  • dot: The dot on the left side of the Chip. Visible when the variant="dot" property is set.
  • avatar: The avatar class of the Chip. Visible when using the avatar slot.
  • closeButton: The close button class of the Chip. Visible when listening to the @close event.

Custom Styles

New

MIT Licensed