About
A labeled Base UI range control with direct surface selection, a dedicated draggable indicator, and restrained boundary resistance.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Fluid Slider to your project and fits it to your theme.
Code
How Fluid Slider is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import FluidSlider from "@/components/ui/sona-fluid-slider"
export default function FluidSliderDemo() {
return (
<div className="flex w-full max-w-xl flex-col gap-5">
<FluidSlider
label="Frequency"
defaultValue={15}
formatValue={(value) => `${value}%`}
/>
<FluidSlider
label="Resonance"
defaultValue={6}
max={10}
marks={[2, 4, 6, 8]}
/>
</div>
);
}








