Cnippet

Domain Input Group

Buttons 6

About

A grouped input field that shows a fixed "https://" domain prefix label attached to a text input, used for entering or displaying a URL/domain.

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

Code

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

Usage.tsx

import Component from "@/components/ui/domain-input-group";

export default function DomainInputGroupDemo() {
  return (
    <div className="flex items-center justify-center p-10">
      <Component />
    </div>
  );
}

More by Cnippet

View all
  • Team

    Team

    1.4K
  • Davincho Hero-1

    Davincho Hero-1

    719
  • Aero Hero-3

    Aero Hero-3

    638
  • Random Letter Swap Navigation

    Random Letter Swap Navigation

    602
  • Features

    Features

    542
  • Services with Animated Hover Modal

    Services with Animated Hover Modal

    496
  • Text Reveal

    Text Reveal

    407
  • Blogs

    Blogs

    407

More in Buttons

View all
  • Button

    Button

    166
  • Texture Button

    Texture Button

    121
  • Button

    Button

    21
  • Figma File Button

    Figma File Button

    39
  • Native Button

    Native Button

    12
  • Button

    Button

    88
  • HeroUI Button Group

    HeroUI Button Group

    11
  • Great UI Button

    Great UI Button

    19

Explore more

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