FormAssistLink
FormAssistLinkSupporting navigation A quiet route to help. Native links for recovery, documentation, and supporting form navigation.
Forms & inputContextual help
Use a specific label that describes where the reader will go.
These links navigate to actual guides. Their labels explain the destination.
<FormMeta>
<span>Need a different input?</span>
<FormAssistLink href="/components/forms/auto-complete-input/" label="Explore suggestions" />
</FormMeta> A separate browsing context
An explicit target receives safe relationship defaults unless you provide rel yourself.
<FormAssistLink
href="/components/forms/app-form/"
label="Open the form guide in a new tab"
target="_blank"
/> Destinations and browsing context
href, label, target, and rel make the complete public API. A missing href omits the anchor. External GitHub links explicitly open a new tab.
Internal guide Read the guides Section anchor Jump to the API GitHub in a new tab Open GitHub in a new tab Missing destination No link is rendered below because href is omitted.
Compare all values together. Use the live examples for application state and event handling.
Behavior and accessibility
An empty destination suppresses the link. Link text comes from label, not a slot. Internal URLs are base-path aware in SSG context.
API reference
FormAssistLink contract
Props below are the public template API. RefOrValue accepts a literal or a reactive ref; bind refs with a colon-prefixed attribute. Native attributes and events can be passed through the component root.
href
RefOrValue<string> - Default
not set
Navigation destination. Internal paths are resolved against the site base path when SSG context is available.
label
RefOrValue<string> - Default
not set
Visible label. Use language that describes the control or value in its surrounding context.
target
RefOrValue<string> - Default
not set
Native browsing target. _blank opens a new browsing context.
rel
RefOrValue<string> - Default
automatic for _blank
Native link relationship. An explicit value replaces the automatic noopener noreferrer used for _blank.
Composition
No slots. Native anchor attributes are inherited. Register defineFormComponents.