ai 2

Marks Slider

Forms 5

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

    33
  • Styled Toggle Switches

    Styled Toggle Switches

    21
  • Styled Progress Bars

    Styled Progress Bars

    17
  • Styled Badges

    Styled Badges

    15
  • Particle Toggles

    Particle Toggles

    14
  • OTP Pin Input

    OTP Pin Input

    12
  • File Input

    File Input

    11
  • Combo Kbd

    Combo Kbd

    11

More in Forms

View all
  • Login 1

    Login 1

    63
  • Premium Auth

    Premium Auth

    570
  • Contact Card

    Contact Card

    1.1K
  • Form

    Form

    18
  • Book A Demo 1

    Book A Demo 1

    91
  • Authentication Card

    Authentication Card

    52
  • Card Studio

    Card Studio

    47
  • Login Card

    Login Card

    35