Skip to content

co-tab

This content is not available in your language yet.

Ver código
<co-tab label="Ejemplo"></co-tab>

Props

PropAtributoTipoDefaultDescripción
disableddisabledbooleanfalseDisabled state
iconLefticon-leftstring | undefinedLeft icon (Phosphor name)
iconRighticon-rightstring | undefinedRight icon (Phosphor name)
labellabelstring''Tab label
selectedselectedbooleanfalseWhether this tab is active/selected
sizesize"large" | "small"'small'Size
valuevaluestring''Tab value (used for selection)

Eventos

EventoDetailBubblesCancelableDescripción
coTabSelectstringEmitted when tab is clicked

Slots

Este componente no expone slots.

CSS Parts

PartDescripción
::part(tab)

CSS Custom Properties

Este componente no expone CSS custom properties.