Input Group
Copy Link
A read-only field with a link and a fixed label on the left: the single button on the right copies the value and confirms it by swapping its icon.
What you can change
- the label, prefixLabel copy and the defaultValue
- the confirmation text and how long it stays visible
- the button icon for your scenario
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/inputgroup-013?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
The component is self-contained: one file, no dependencies, its own palette in the local --vibeui-inputgroup-013-* variables. Client-side: "use client" for the sake of the copy state. The caption on the left is a non-interactive span with user-select:none and aria-hidden, and the field is readonly but stays a real input — the value can be selected by hand. The copy button tries navigator.clipboard.writeText, on a refusal selects the field text instead of copying, and on success changes the icon and the caption to «Done» for 1.6 seconds.
Tags
- inputgroup
- copy
- link
- readonly
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…