A Chip is a compact UI element that provides brief, descriptive information about an element. It is terse, ideally one word.

Preview

Variants and Examples

Non Interactive

Add :interactive="false" to make it a read-only, non-interactive Chip. This changes it from a <button> to a non-interactive, read-only Chip with no events or hover/active state. Note that this does not effect the interactivity of its × remove button.

Default

Disabled

Use the disabled prop to disable both the Chip and its close button. This sets aria-disabled="true" and tabindex="-1" on the interactive elements and applies disabled styles, preventing pointer and keyboard interaction.

Without Close Button

With Icon

With Icon and Close Button

With Avatar and Close Button

Truncated

To truncate text, add .d-truncate to the content element, and set the width of the .d-chip element.

Sizes

Vue API

import { DtChip } from '@dialpad/dialtone-vue';

Slots

Name
Type
avatar

slot for Chip avatar

default

slot for Content within chip

icon

slot for Chip icon

Props

Name
Default
Type
ariaLabel
''
string

Descriptive label for the chip content. If this prop is unset the content in the default slot will be used as an aria-label.

avatarClass
''
string|array|object

Additional class name for the avatar wrapper element.

contentClass
''
string|array|object

Additional class name for the chip element.

disabled
false
"true" | "false"

Whether the chip is disabled

iconClass
''
string|array|object

Additional class name for the icon wrapper element.

id
generated unique ID
string

Id to use for the dialog's aria-labelledby.

interactive
false
"true" | "false"

The interactivity of the chip. Makes chip clickable, apply hover/focus/active style, emit keyboard events etc.

labelClass
''
string|array|object

Additional class name for the span element.

showClose
true
"true" | "false"

Shows the close button on the chip

size
300
"100" | "200" | "300"

The size of the chip.

Events

Name
Type
click
PointerEvent | KeyboardEvent

Native chip click event

close

Close button click event

keydown
KeyboardEvent

Native chip key down event

keyup
KeyboardEvent

Native chip key up event

Classes

Class
Applies to
Description

Chip documentation last updated Thursday, June 18, 2026