Installation
CLI
Install the component using the StarUI CLI:
Examples
States
Default, disabled, error, and helper text states
Blur above 40px degrades export quality
Soft edge width for selection masks
Live Preview
Slider drives font size in real time via signal binding
Type Settings
Adjust font size and preview live
The quick brown fox jumps over the lazy dog
Image Adjustments
Brightness, contrast, and saturation sliders with live CSS filter preview and batch reset
Image Adjustments
Filter preview
Color Mixer
RGB channel sliders with +/- buttons driving a live color swatch
Color Mixer
Blend RGB channels to pick a color
Vertical
Vertical sliders controlling per-layer opacity with live preview
Layer Opacity
Control transparency per layer
Form & Range Slider
Export form with single-value sliders, a dual-thumb range slider for resolution bounds, and a derived file-size estimate
Export Settings
Configure output quality and resolution
API Reference
Props
| Prop | Type | Default | Description |
|---|---|---|---|
value |
list[float] | float | None |
None |
Controlled value. When provided, component is controlled |
default_value |
list[float] | float | None |
None |
Initial value for uncontrolled mode. Defaults to [min] if not specified |
signal |
str | Signal | None |
None |
Signal name or Signal object for reactive two-way binding |
min |
float |
0 |
Minimum value |
max |
float |
100 |
Maximum value |
step |
float |
1 |
Step increment |
orientation |
"horizontal" | "vertical" |
"horizontal" |
Slider orientation |
disabled |
bool |
False |
Disables the slider |
name |
str | None |
None |
Form input name |
show_value |
bool |
False |
Display current value |
value_text |
str | list[str] | None |
None |
Custom text suffix to display after numeric value |
aria_label |
str | None |
None |
Accessible label for the slider input |
cls |
str |
'' |
Additional CSS classes |
id |
str | None |
auto-generated |
HTML id for the slider input |
| Component | Description |
|---|---|
Slider |
Main slider component for selecting single values using native <input type='range'>. Delegates to RangeSlider when given a list of 2+ values. |
SliderWithLabel |
Convenience wrapper with label, helper text, and error text |
RangeSlider |
Dual-thumb slider for selecting value ranges |
SliderTrack |
Track element (sub-component) |
SliderRange |
Filled range element (sub-component) |