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.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
as | 'hr' | 'div' | 'li' | — | No | Rendered root element, forwarded to the unstyled GhostSeparator. Omit to get hr when horizontal and div when vertical. li is for list-shaped menus. |
decorative | boolean | false | No | Forwards presentational semantics to the unstyled GhostSeparator. |
orientation | 'horizontal' | 'vertical' | "horizontal" | No | Axis 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
| Attribute | Value | Description |
|---|---|---|
data-part | root | The divider element inside the display:contents themed scope. |
CSS variables
| Name | Description |
|---|---|
--ghost-border-default | Color of the divider line. |
--ghost-border-hairline-width | Thickness 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.
| Category | Status | Evidence |
|---|---|---|
| Automated keyboard | Not reviewed | No declared key is mapped to a browser test yet. |
| Manual interaction | Not reviewed | No review recorded. |
| Assistive technology | Not reviewed | No review recorded. |
Examples
separator/release-header
Horizontal section rule paired with vertical inline metadata and action-group separators.
separator/themed
Hairline rules on the @ghostvue/themes wrapper.