sltowl

Matte Password Input

Component

About

A floating-label password text field with a dark matte control and an eye icon button that toggles masking the typed value, ported from a standalone HTML/CSS/JS component by SLtowl.

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

Code

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

Usage.tsx

import MattePasswordInput from "@/components/ui/matte-password-input";

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

More by sltowl

View all
  • Playback Scrubber

    Playback Scrubber

    43
  • Matte Alert Feedback

    Matte Alert Feedback

    39
  • Notification Stack

    Notification Stack

    29
  • Time Window Slider

    Time Window Slider

    20
  • Commands Menu

    Commands Menu

    14
  • Matte Meter Slider

    Matte Meter Slider

    14
  • Matte Opacity Slider

    Matte Opacity Slider

    11
  • Undo Feedback

    Undo Feedback

    8