ai 2

Tone Slider

Forms

About

A decorative range slider that comes in five semantic tone colors (info, success, warning, danger, muted) with pointer and keyboard support.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Tone Slider to your project and fits it to your theme.

Code

How Tone Slider is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import {
  InfoSlider,
  SuccessSlider,
  WarningSlider,
  DangerSlider,
  MutedSlider,
} from "@/components/ui/slider-tone";

export default function SliderToneDemo() {
  return (
    <div className="flex w-full max-w-xs flex-col gap-6 p-6">
      <InfoSlider defaultValue={40} />
      <SuccessSlider defaultValue={60} />
      <WarningSlider defaultValue={70} />
      <DangerSlider defaultValue={30} />
      <MutedSlider defaultValue={50} />
    </div>
  );
}

Dependencies

More by ai 2

View all
  • Ripple Buttons

    Ripple Buttons

    33
  • Styled Toggle Switches

    Styled Toggle Switches

    22
  • Styled Progress Bars

    Styled Progress Bars

    18
  • Styled Badges

    Styled Badges

    17
  • Particle Toggles

    Particle Toggles

    14
  • OTP Pin Input

    OTP Pin Input

    12
  • Combo Kbd

    Combo Kbd

    12
  • File Input

    File Input

    11

More in Forms

View all
  • Premium Auth

    Premium Auth

    593
  • Contact Form

    Contact Form

    28
  • Form

    Form

    4
  • Login 1

    Login 1

    70
  • Book A Demo 1

    Book A Demo 1

    94
  • Contact Card

    Contact Card

    1.1K
  • HeroUI Field Error

    HeroUI Field Error

    13
  • Form [react-aria-components]

    Form [react-aria-components]

    19