Cnippet

Domain Input Group

Buttons 2

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.3K
  • Davincho Hero-1

    Davincho Hero-1

    686
  • Aero Hero-3

    Aero Hero-3

    576
  • Features

    Features

    514
  • Random Letter Swap Navigation

    Random Letter Swap Navigation

    496
  • Services with Animated Hover Modal

    Services with Animated Hover Modal

    468
  • Blogs

    Blogs

    397
  • Aero Hero-1

    Aero Hero-1

    363

More in Buttons

View all
  • Texture Button

    Texture Button

    97
  • Button

    Button

    5
  • Button Group

    Button Group

  • Eclipse Button

    Eclipse Button

    39
  • Button

    Button

    4
  • HeroUI Button Group

    HeroUI Button Group

  • App Store Button

    App Store Button

    458
  • Base Button

    Base Button

    4

Explore more

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