sona-ui

Fluid Slider

Component

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>
  );
}

Dependencies

More by sona-ui

View all
  • Stagger Text

    Stagger Text

    8
  • Dot Orbit Shader

    Dot Orbit Shader

  • Mesh Gradient Shader

    Mesh Gradient Shader

  • Split Text

    Split Text

  • Image Trail

    Image Trail

  • Section Rail

    Section Rail

  • Activity Graph

    Activity Graph

  • Lightbox

    Lightbox