Skip to content

UrlFieldProps

UrlFieldProps = BaseFieldProps & object

Defined in: packages/ui/src/types.ts:775

Props for the UrlField read-only display component.

Renders a URL as an external link with an indicator icon. Optionally truncates the display to hostname + path for readability.

optional truncate: boolean

Whether to truncate the URL to hostname + path.

value: string | null | undefined

URL to display as an external link.

BaseFieldProps for inherited label and className props.