For the complete documentation index, see llms.txt. This page is also available as Markdown.

Chip

Chip Props

Name
Type
Default
Description

colors

object

Object with Tailwind CSS colors classes

colors.fillBgIos

string

'bg-black bg-opacity-10 dark:bg-white dark:bg-opacity-10'

colors.fillBgMaterial

string

'bg-md-light-secondary-container dark:bg-md-dark-secondary-container'

colors.fillTextIos

string

'text-current'

colors.fillTextMaterial

string

'text-md-light-on-secondary-container dark:text-md-dark-on-secondary-container'

colors.outlineBorderIos

string

'border-black border-opacity-20 dark:border-white dark:border-opacity-20'

colors.outlineBorderMaterial

string

'border-md-light-outline dark:border-md-dark-outline'

colors.outlineTextIos

string

'text-current'

colors.outlineTextMaterial

string

'text-md-light-on-surface dark:text-md-dark-on-surface'

component

string

'div'

Component's HTML Element

deleteButton

boolean

false

Defines whether the Chip has additional "delete" button or not

outline

boolean

false

Makes chip outline

Chip Events

Name
Type
Description

delete

function(e)

Event will be triggered on Chip delete button click

Chip Slots

Name
Description

media

Content of the chip media area (e.g. icon)

Examples

Last updated