Typography
Link
Renders a native inline anchor with the system link treatment.
Usage
Examples
Workspace resources
Next.js
Next.js Link owns the destination and client navigation.
React Router
This isolated preview uses MemoryRouter. In your app, use your existing router.
External link
Native anchor attributes control external navigation.
Long text
Inline links wrap within narrow text blocks.
Recommendations
| Guidance | Practice |
|---|---|
| Do | Name the destination in the link text. Keep the real URL available for native browser navigation. |
| Do | Use render for framework links. Put Next.js href or React Router to and routing options on that target. Do not nest anchors. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Use Button for commands that do not navigate. Avoid vague labels such as Click here. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | Required without render | Native anchor destination. Omit when the framework render target owns its href or to. |
| | undefined | Composes a framework link, merging styling, refs, and event handlers into one anchor. |
| | Required | Inline link content. Inherits surrounding typography. |
| | — | Preserves ordinary anchor behavior. Routing options belong on the render target. |
| | — | Receives the anchor rendered by the framework link. |