Skip to main content

Starwind UI v1.10 is now available!

Separator

Starwind UI

A beautiful component library for Astro.

Components
Documentation
Examples

Installation

Usage

Horizontal (Default)

Horizontal Separator

This is the default orientation.

Content Below

The separator divides content vertically.

Vertical

Left Content
Middle Content
Right Content

Custom Styling

Default border color

Custom color and thickness

Dashed style

API Reference

PropTypeDefault
orientation"horizontal" | "vertical""horizontal"

The component also accepts all standard HTML attributes for the <div> element (excluding role and aria-orientation which are set automatically for accessibility).

Changelog

v1.0.0

  • Initial release with starwind v1.10.0