URL field with protocol selection and normalized value output.
URLInput separates protocol choice from the address body so forms can guide users toward allowed protocols without custom string helpers.
Default protocol is applied while the user enters the host.
<URLInput aria-label="Website" placeholder="example.com" />import { URLInput } from "@froggdesign/enter-ui-react";<URLInput
value={url}
onValueChange={setUrl}
allowedProtocols={["https", "http"]}
defaultProtocol="https"
/>Use URLInput for webhook endpoints, website fields, callback URLs, docs links, and integration settings.
The protocol selector has an explicit label and the text input keeps the consumer-provided label. Use invalid with field-level error text for unsupported or unreachable URLs.
allowedProtocols: protocol list. Defaults to ["https", "http"].defaultProtocol: protocol used when the value has no protocol.value, defaultValue: full URL string.onValueChange: called with the normalized full URL.invalid: marks the text input invalid.URLInput uses .eui-url-input classes and FroggDesign tokens for layout, state, focus, and disabled styling.