base-ui-svelte

Separator

Visually or semantically separates content.

View as Markdown

API Reference

Props mirror Base UI React where applicable, adapted for Svelte 5. Native HTML attributes for the rendered element are also accepted unless noted.

Separator

Extends div HTML attributes.

PropertyTypeDefaultDescription
orientationSeparatorOrientation'horizontal'
Data attributeDescription
data-orientationThe orientation of the component.