Cnippet

Label with Required Indicator

Forms

About

A form field showing a label with a red required asterisk next to an email input.

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

Code

How Label with Required Indicator is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Pattern from "@/components/ui/v-label-4";

export default function Default() {
  return (
    <div className="flex min-h-[280px] w-full items-center justify-center p-6">
      <Pattern />
    </div>
  );
}

More by Cnippet

View all
  • Team

    Team

    1.3K
  • Davincho Hero-1

    Davincho Hero-1

    681
  • Aero Hero-3

    Aero Hero-3

    552
  • Features

    Features

    505
  • Random Letter Swap Navigation

    Random Letter Swap Navigation

    479
  • Services with Animated Hover Modal

    Services with Animated Hover Modal

    461
  • Blogs

    Blogs

    396
  • Aero Hero-1

    Aero Hero-1

    353

More in Forms

View all
  • Premium Auth

    Premium Auth

    492
  • Authentication Card

    Authentication Card

    44
  • Login 1

    Login 1

    52
  • Login 2

    Login 2

    7
  • Form

    Form

    15
  • Form

    Form

    31
  • Login Card

    Login Card

    32
  • Card Studio

    Card Studio

    41

Explore more

Part of Cnippet — browse the full library on 21st.dev.