URL field

The website URL

The url field stores a string that is a sanitised URL. It uses @braintree/sanitize-url under the hood.

Usage example

url: fields.url({
  label: 'URL',
  description: 'The website URL'
})

Type signature

Find the latest version of this field's type signature at: https://docsmill.dev/npm/@keystatic/core@latest#/.fields.url