Input Link
URL / social handle input that auto-prefixes with the right base URL. Pass label='Instagram' and the input prepends https://instagram.com/. Pasting a full URL strips the prefix automatically.
Default
Generic URL input.
Usage
Import the parts you need from the component's folder.
ts
import { InputLink } from "@/components/ui/input-link";With label
Pair with a Label for a complete form field.
Social media
Pass label as Instagram, Facebook, X, TikTok, LinkedIn, YouTube to get the matching prefix.