What this family solves
Continuous-value input family with a native range slider component, a canonical SliderField path, and thin purpose-slider wrappers.
Marwes documentation
Continuous-value input family with a native range slider component, a canonical SliderField path, and thin purpose-slider wrappers.
Continuous-value input family with a native range slider component, a canonical SliderField path, and thin purpose-slider wrappers.
Choose the purpose wrapper that matches the meaning; use SliderField as the deliberate primitive escape hatch.
Preconfigured 0-100 volume control with a value tooltip
Preconfigured 0-100 brightness control with a value tooltip
Preconfigured size control with sensible pixel bounds
Base slider for custom numeric ranges; the deliberate escape hatch
Choose an adapter in the verified examples. The inventory below reflects each framework package exactly.
@marwes-ui/reactBrightnessSlider, RadiusSlider, SliderField, VolumeSlider
BrightnessSliderProps, RadiusSliderProps, SliderFieldProps, VolumeSliderProps
@marwes-ui/vueBrightnessSlider, RadiusSlider, SliderField, VolumeSlider
BrightnessSliderProps, RadiusSliderProps, SliderFieldProps, VolumeSliderProps
@marwes-ui/svelteBrightnessSlider, RadiusSlider, SliderField, VolumeSlider
BrightnessSliderProps, RadiusSliderProps, SliderFieldProps, VolumeSliderProps
These examples come from the same fixtures verified by the repository checks.
import { SliderField } from "@marwes-ui/react"
export function Example() {
return (
<SliderField
label="Volume"
description="Adjust media volume"
slider={{ min: 0, max: 100, step: 1, defaultValue: 40 }}
/>
)
}<script setup lang="ts">
import { SliderField } from "@marwes-ui/vue"
</script>
<template>
<SliderField
label="Volume"
description="Adjust media volume"
:slider="{ min: 0, max: 100, step: 1, defaultValue: 40 }"
/>
</template><script lang="ts">
import { SliderField } from "@marwes-ui/svelte"
</script>
<SliderField
label="Volume"
description="Adjust media volume"
slider={{ min: 0, max: 100, step: 1, defaultValue: 40 }}
/>Slider uses Marwes preset CSS and theme variables. Customize it through the theme passed to MarwesProvider; do not add a second component stylesheet. See the theming guide for configuration and token details.