Icons
Inline SVG is the ideal way to add icons: one request less than an icon font, currentColor keeps them in sync with the text, and forma sizes them at 1em (half inside headings).
Inline SVG is the ideal way to add icons: nothing to download (no icon font, one request less), inherits the text color via currentColor, and can be inlined right where it is used. forma sizes them for you: i and .bi render at 1em high, and icons inside headings and .heading-* shrink to half the base font size. Give your svg the .bi class (or wrap it in i) and it scales everywhere. Bootstrap Icons font still works if you prefer loading it.
Runtime tokens per module: the forms modules expose icon placeholders such as --forma-icon-search or --forma-icon-check, so search and validation icons can be swapped without touching the CSS.
Inline SVG in text and buttons
Inline SVG means zero extra requests and no icon font to maintain; currentColor keeps icons in sync with the text, and aria-hidden="true" hides them from screen readers since the label carries the meaning.
Berlin · November 2026
<p><svg class="bi" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><path d="M8 14.5s5-4.6 5-8.5a5 5 0 1 0-10 0c0 3.9 5 8.5 5 8.5z"/><circle cx="8" cy="6" r="1.75"/></svg> Berlin · <svg class="bi" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><rect x="2.5" y="3.5" width="11" height="10.5" rx="1.5"/><path d="M2.5 7h11M5.5 2v3M10.5 2v3"/></svg> November 2026</p>
<div class="flex-row" style="align-items: center">
<button><svg class="bi" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><path d="M8 2v7M5 6.5 8 9.5 11 6.5M3 13.5h10"/></svg>Download</button>
<a href="#" class="btn btn-outline"><svg class="bi" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><path d="M9 3h4v4M13 3 6.5 9.5M11 9.5v3A1.5 1.5 0 0 1 9.5 14h-6A1.5 1.5 0 0 1 3 12.5v-6A1.5 1.5 0 0 1 4.5 5H8"/></svg>Open external</a>
<button class="btn-round sm" aria-label="Add"><svg class="bi" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" aria-hidden="true"><path d="M8 3v10M3 8h10"/></svg></button>
</div>Icons in headings
The heading icon size derives from --forma-font-size-base, so tuning a heading's font-size resizes its icon too. Draw your SVGs against a 16×16 viewBox and use fill="none" stroke="currentColor" for line icons.
Highlights
Notes
<h3><svg class="bi" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 2l1.1 3.9L13 7l-3.9 1.1L8 12l-1.1-3.9L3 7l3.9-1.1L8 2z"/></svg> Highlights</h3>
<h5><svg class="bi" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><circle cx="8" cy="8" r="6"/><path d="M8 7.5v3.5M8 5.1v.2"/></svg> Notes</h5>