Skip to content

urlSchema

type: union

a URL endpoint and an optional label for a11y purposes

urlSchema/0

type: string
kind: URL

the URL endpoint; This form should be used when a label is not provided.

urlSchema/1

type: object

a combination of the URL endpoint and a label for a11y purposes; This form should be used when a label is provided.

dest

type: string
kind: URL

the URL endpoint

label

type: string

a label for the URL; This makes the URL accessible and provides more info about the destination.