<Link>
A standalone styled hyperlink (no button background).
<Link>
A standalone styled hyperlink (no button background).
| Prop | Type | Default | Description |
|---|---|---|---|
hrefrequired | url | # | Destination URL. {{variables}} are allowed. |
align | enumleft | center | right | left | Alignment. |
color | color | — | Link color. |
font-size | number | 16 | Font size (px). |
font-family | string | — | Override the document font for this link. |
underline | boolean | true | Whether the link is underlined. Defaults to underlined; set false to remove it. |
Common props
Every block accepts these in addition to its own props.
| Prop | Type | Default | Description |
|---|---|---|---|
margin-bottom | number | 16 | Vertical space (px) below the block. |
className | string | — | Tailwind-style utility classes compiled to inline CSS at render (e.g. "mt-4 text-zinc-500 sm:hidden"). Responsive/pseudo variants are hoisted into a <style> block. `class` and `tw` are accepted as aliases in code. |
custom-css | css | — | Extra inline CSS declarations merged onto the block's root element (e.g. "letter-spacing: 1px; opacity: 0.9"). Inlined so it survives every client. |
Per-side spacing is also supported via padding and margin objects in the visual editor's inspector.