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
Disabled
Sizes
Colors
Radius
Variants
Start and End Content
With Close Button
With Avatar
INFO
Depends on the Avatar
component
WARNING
Work in progress
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.