SL

Matte Number Input

Forms

About

A number input field with inline increment/decrement step buttons, floating label, and live min/max/step validation feedback shown as helper text. Ported to React from SLtowl's Matte UI library (MIT).

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

Code

How Matte Number Input is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import MatteNumberInput from "@/components/ui/matte-number-input";

export default function MatteNumberInputDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-[#f5f4f2] p-6">
      <MatteNumberInput />
    </div>
  );
}

More by SL

View all
  • Playback Scrubber

    Playback Scrubber

    58
  • Matte Alert Feedback

    Matte Alert Feedback

    44
  • Notification Stack

    Notification Stack

    33
  • Time Window Slider

    Time Window Slider

    26
  • Matte Meter Slider

    Matte Meter Slider

    17
  • Commands Menu

    Commands Menu

    15
  • Matte Opacity Slider

    Matte Opacity Slider

    13
  • Undo Feedback

    Undo Feedback

    9

More in Forms

View all
  • Contact Card

    Contact Card

    1.1K
  • Premium Auth

    Premium Auth

    559
  • Book A Demo 1

    Book A Demo 1

    88
  • Form

    Form

    139
  • Authentication Card

    Authentication Card

    51
  • Book A Demo 3

    Book A Demo 3

    99
  • Login 2

    Login 2

    11
  • SignInPage

    SignInPage

    740