Anchors
A headless, unstyled, anchor component. The Button component uses Anchor internally to create styled text and button-like links.
<Anchor>
Property | Type | Values | Description |
---|---|---|---|
children* | node | The content of the component. | |
className | string | A space-delimited list of class names to be merged into the component's outermost element. | |
href | string | The target for link navigation. This can be an internal (relative) URL or external (absolute) URL. Supports the mailto: and tel: schemes. | |
onClick | function | An optional click handler. Invoke event.preventDefault() to prevent navigation. | |
replace | boolean | true
false
| If true link replaces current page in the browser history. |
target | string | ""
"_blank"
| If new , instructs the browser to open a new tab (or window) target. |
* required