Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nuxt/ui/llms.txt
Use this file to discover all available pages before exploring further.
Usage
The Chip component wraps other components and displays a notification badge (usually a number or status indicator) in a corner.Props
The element or component this component should render as.
Display some text or number inside the chip.
The color variant of the chip (e.g., ‘primary’, ‘secondary’, ‘success’, ‘warning’, ‘error’).
The size of the chip. When used inside an AvatarGroup, the size is automatically inherited.
The position of the chip relative to its container.
When
true, keep the chip inside the component boundaries. Useful for rounded elements like avatars.When
true, render the chip with relative positioning instead of absolute.Additional CSS classes to apply.
UI customization object for styling chip slots (root, base).
Models (v-model)
Control the visibility of the chip.
Slots
The component to wrap with the chip.
Custom content to display inside the chip badge, replacing the text prop.
Examples
Basic Chip
Positions
Colors
With Avatar (Inset)
Custom Content
Controlled Visibility
No Text (Status Indicator)
Large Numbers
Standalone Mode
Use standalone mode when you want the chip to be part of the normal document flow:Different Sizes in Avatar Group
Use Cases
- Notification counts on buttons or icons
- Status indicators on avatars (online/offline)
- Unread message counts
- New feature badges
- Shopping cart item counts
- Activity indicators
Notes
- By default, the chip is positioned absolutely relative to its parent
- Use
insetprop for rounded containers like avatars to prevent the chip from overflowing - When
showisfalse, the chip badge is hidden but the wrapped content remains visible - The chip automatically inherits size from AvatarGroup context when nested