Builtin component

Link

Navigational link.

Props

PropTypeDefaultDescription
hrefstring | FieldReference—Target URL or route
labelstring | FieldReference—Link text
iconstring | FieldReference—Icon name
externalboolean—Open in new tab

Example

Link({ href: "/warehouses", label: "View warehouses" })
Link({ href: "https://docs.example.com", label: "Docs", external: true })