Ir al contenido

co-separator

Ver código
<co-separator></co-separator>

Props

PropAtributoTipoDefaultDescripción
colorcolorstring | undefinedCustom color (any CSS color value or Cobalt token variable)
darkdarkbooleanfalseDark mode variant
insetinsetboolean | stringfalseAdds inset (inner margin) to the separator line. - true → 16px on both sides - 'item' → matches list item padding (56px left) - 'item-thumbnail' → matches item with thumbnail (72px left)
sizesizestring | undefinedCustom thickness (CSS value, e.g. '2px')
spacedspacedboolean | stringfalseAdds spacing (margin) around the separator. - true → 8px - 'xs' | 'sm' | 'md' | 'lg' | 'xl' → predefined sizes - Any CSS value (e.g. '16px', '1rem')
verticalverticalbooleanfalseOrientation: horizontal (default) or vertical

Eventos

Este componente no emite eventos personalizados.

Slots

Este componente no expone slots.

CSS Parts

PartDescripción
::part(separator)

CSS Custom Properties

Este componente no expone CSS custom properties.