Module glass_slider

Source
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§

GlassSliderArgs
Arguments for the glass_slider component.
GlassSliderArgsBuilder
Builder for GlassSliderArgs.
GlassSliderState
State for the glass_slider component.

Enums§

GlassSliderArgsBuilderError
Error type for GlassSliderArgsBuilder

Functions§

glass_slider
Creates a slider component with a frosted glass effect.