Expand description
Provides a glassmorphism-style slider component for selecting a value in modern UI applications.
The glass_slider
module implements a customizable, frosted glass effect slider with support for
blurred backgrounds, tint colors, borders, and interactive state management. It enables users to
select a continuous value between 0.0 and 1.0 by dragging a thumb along a track, and is suitable
for dashboards, settings panels, or any interface requiring visually appealing value selection.
Typical usage involves integrating the slider into a component tree, passing state via Arc<Mutex<GlassSliderState>>
,
and customizing appearance through GlassSliderArgs
. The component is designed to fit seamlessly into
glassmorphism-themed user interfaces.
See the module-level documentation and examples for details.
Structs§
- Glass
Slider Args - Arguments for the
glass_slider
component. - Glass
Slider Args Builder - Builder for
GlassSliderArgs
. - Glass
Slider State - State for the
glass_slider
component.
Enums§
- Glass
Slider Args Builder Error - Error type for GlassSliderArgsBuilder
Functions§
- glass_
slider - Creates a slider component with a frosted glass effect.