Skip to content

GhostSlider reference ​

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

Themed wrapper around headless GhostSlider. Same behavioral props plus tone and size. Importing it loads the default stylesheet and scopes track, range, and thumb recipes to this instance.

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

All component references

Props ​

NameTypeDefaultRequiredDescription
tone'accent' | 'neutral' | 'danger'"accent"NoSemantic color intent for the range fill and thumb ring.
size'sm' | 'md' | 'lg'"md"NoTrack thickness and thumb diameter.

Emits ​

None declared.

Models ​

PropEventTypeDescription
modelValueupdate:modelValueGhostSliderValueForwarded v-model binding.

Slots ​

None declared.

Exposed members ​

NameTypeDescription
elementHTMLElement | nullUnstyled root inside the themed scope.
valueGhostSliderValueCurrent slider value.

Parts and data attributes ​

AttributeValueDescription
data-partrootghost-themed-scope wrapper; display contents.
data-parttrackMuted track background.
data-partrangeAccent fill between thumbs or from min.
data-partthumbCircular handle with focus ring.

CSS variables ​

NameDescription
--ghost-surface-muted-bgTrack background.
--ghost-action-primary-bgDefault range fill and thumb ring.
--ghost-track-thickness-smTrack and range thickness for size sm. Density-independent.
--ghost-track-thickness-mdTrack and range thickness for size md. Density-independent.
--ghost-track-thickness-lgTrack and range thickness for size lg. Density-independent.
--ghost-track-thumb-smThumb diameter for size sm.
--ghost-track-thumb-mdThumb diameter for size md.
--ghost-track-thumb-lgThumb diameter for size lg.
--ghost-track-targetMinimum pointer hit size around the track cross axis and the thumb.

Accessibility ​

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

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 ​

slider/audio-mixer ​

Example source

Export mastering

Single, range, and disabled GhostSlider controls with live value readouts.

Export mastering

Tune output gain and passband filter before rendering the stem.

Master output 72%
Passband frequency (Hz) 250 Hz – 1400 Hz
minimummaximum
Safety limiter (locked) 90%

slider/price-filter ​

Example source

Price filter

Two-thumb nightly price range in USD with a live count of matching stays.

Filter stays

Nightly price (USD) $80 – $240 per night
minimummaximum

slider/vertical ​

Example source

Vertical themed

Themed vertical orientation and tokens.

Gain 60%

slider/input-level-meter ​

Example source

Input level meter

A test-signal slider drives a pausable level meter with a hysteresis status that respects reduced motion and motion intensity.

Input check

A seeded test signal sends 20 samples a second. Move the slider to change it.

Input level

Signal detected

Test signal level 64%