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

    63
  • Matte Alert Feedback

    Matte Alert Feedback

    46
  • Notification Stack

    Notification Stack

    36
  • Time Window Slider

    Time Window Slider

    28
  • Matte Meter Slider

    Matte Meter Slider

    19
  • Commands Menu

    Commands Menu

    16
  • Matte Opacity Slider

    Matte Opacity Slider

    13
  • Undo Feedback

    Undo Feedback

    10

More in Forms

View all
  • Login 1

    Login 1

    64
  • Premium Auth

    Premium Auth

    571
  • 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