Skip to content

GhostSeparator reference ​

Package: @ghostvue/themes. Status: experimental (stability policy).

Themed wrapper around headless GhostSeparator. Same behavioral props; no extra visual props. Importing it loads the default stylesheet and scopes styles to this instance. Hand-written until GHO-13 generates manifests.

Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.

All component references

Props ​

NameTypeDefaultRequiredDescription
as'hr' | 'div' | 'li'—NoRendered root element, forwarded to the unstyled GhostSeparator. Omit to get hr when horizontal and div when vertical. li is for list-shaped menus.
decorativebooleanfalseNoForwards presentational semantics to the unstyled GhostSeparator.
orientation'horizontal' | 'vertical'"horizontal"NoAxis of the line, forwarded to the unstyled GhostSeparator.

Emits ​

None declared.

Models ​

None declared.

Slots ​

None declared.

Exposed members ​

None declared.

Parts and data attributes ​

AttributeValueDescription
data-partrootThe divider element inside the display:contents themed scope.

CSS variables ​

NameDescription
--ghost-border-defaultColor of the divider line.
--ghost-border-hairline-widthThickness of the divider line.

Accessibility ​

Role: separator. APG pattern: https://www.w3.org/WAI/ARIA/apg/patterns/menubar/.

Required ARIA attributes: none.

Keyboard ​

None declared.

Verification ​

Each category is reviewed separately. Automated keyboard and axe results do not attest manual or assistive-technology review.

CategoryStatusEvidence
Automated keyboardNot reviewedNo declared key is mapped to a browser test yet.
Manual interactionNot reviewedNo review recorded.
Assistive technologyNot reviewedNo review recorded.

Examples ​

separator/release-header ​

Example source

Release metadata and action groups

Horizontal section rule paired with vertical inline metadata and action-group separators.

@ghostvue/themes Stable
v2.14.0
MIT License
Updated 2h ago

separator/themed ​

Example source

Themed

Hairline rules on the @ghostvue/themes wrapper.