ai 2

Marks Slider

Forms 3

About

A styled range slider family with visual scale marks — steps, labeled ticks, snap stops, ruler-style scale, and segmented tracks — for picking a numeric value with pointer drag or keyboard.

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

Code

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

Usage.tsx

"use client";

import SliderMarks from "@/components/ui/slider-marks";

export default function SliderMarksDemo() {
  return (
    <div className="flex w-full items-center justify-center p-10">
      <SliderMarks defaultValue={40} size="md" />
    </div>
  );
}

Dependencies

More by ai 2

View all
  • Ripple Buttons

    Ripple Buttons

    31
  • Styled Toggle Switches

    Styled Toggle Switches

    14
  • Styled Progress Bars

    Styled Progress Bars

    14
  • Styled Badges

    Styled Badges

    10
  • OTP Pin Input

    OTP Pin Input

    8
  • Particle Toggles

    Particle Toggles

    7
  • Input Group Glass

    Input Group Glass

    6
  • File Input

    File Input

    6

More in Forms

View all
  • Premium Auth

    Premium Auth

    497
  • Login 2

    Login 2

    7
  • Authentication Card

    Authentication Card

    45
  • Login 1

    Login 1

    52
  • Contact Card

    Contact Card

    1K
  • Form

    Form

    16
  • Form

    Form

    136
  • Card Studio

    Card Studio

    41