ai 2

Group Tone Input

Forms 1

About

A styled text input with a leading status icon and trailing helper text, available in five semantic tones (info, success, warning, danger, muted) for form validation states.

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

Code

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

Usage.tsx

import {
  InfoGroup,
  SuccessGroup,
  WarningGroup,
  DangerGroup,
  MutedGroup,
} from "@/components/ui/input-group-tone";

export default function InputGroupToneDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-8">
      <div className="flex flex-col gap-4">
        <InfoGroup
          placeholder="you@example.com"
          defaultValue="user@example.com"
        />
        <SuccessGroup placeholder="Username" defaultValue="jane_doe" />
        <WarningGroup placeholder="API key" defaultValue="sk-live-..." />
        <DangerGroup placeholder="Password" defaultValue="short" />
        <MutedGroup placeholder="Nickname (optional)" />
      </div>
    </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

    500
  • Login 1

    Login 1

    52
  • Authentication Card

    Authentication Card

    47
  • Book A Demo 3

    Book A Demo 3

    83
  • Book A Demo 1

    Book A Demo 1

    69
  • Contact Card

    Contact Card

    1K
  • Login Card

    Login Card

    32
  • Login 2

    Login 2

    7