ef-volume

This element is a range slider with values from 0 to 1.

This element is a range slider with values from 0 to 1.

Attributes

AttributeReact propTypeDefaultDescription
targettargetstring""ID of the target element this component controls or reads from.

CSS Parts

PartDescription
sliderThe native `<input type="range">` volume slider element.

CSS Custom Properties

PropertyDefaultDescription
--ef-volume-fill-colorvar(--ef-color-primary, #fff)Filled (progress) track color.
--ef-volume-height4pxTrack and thumb height.
--ef-volume-track-colorvar(--ef-color-border, rgba(255, 255, 255, 0.2))Unfilled track color.