← Back to Components

Slider

Numeric input slider with dual interaction methods

Slider Sizes

Small Size (sm)

0100
Compact size for dense layouts

Smaller thumb (16px) and input field for compact interfaces

Medium Size (md) - Default

32100
Standard size for most use cases

Default size with balanced visibility and usability

Large Size (lg)

0100
Larger size for prominent controls

Larger thumb (24px) and input field for high-prominence controls

Configuration Options

Custom Range

32100
Freezing to boiling point range

Custom min/max values with meaningful labels

Step Increments

110
Select intensity from 1-10

Discrete steps for specific value sets

Decimal Steps

05
Fine-grained control with decimal precision

Decimal step values for precise adjustments

Without Input Field

0100
Slider-only interaction

Pure slider interaction without numeric input

States

Disabled State

0100
This slider cannot be modified

Disabled state with visual indication

Without Label

0100
Slider without visible label (uses aria-label)

Accessible slider without visible label using aria-label

Real-World Examples

Settings Panel

0100
Adjust overall audio level
10100
Screen brightness percentage
05
Notifications per hour (0 = disabled)

Common settings configuration with different ranges and purposes

Data Filtering

0100
Minimum confidence level to show results (%)
01000
Maximum price filter ($)

Filtering interfaces with threshold and range controls

Form Input

0100
Rate the risk level (0 = low risk, 100 = high risk)
15
How satisfied are you? (1-5 scale)

Form inputs for ratings, scores, and assessments