Short facts in a row, such as a license or a runtime: an optional icon and a few words each, with no box. Static text, not controls. Pass each fact as an <li>, which may start with a norn-icon. The list has role="list", which Safari needs once the markers are gone.
<norn-fact-list>
a component, from
@allons-y/webc-patterns
Copy {name} to clipboardCopyCopiedCopy failedhtml code
Props
Write them with the @ prefix, and :@ for an expression.
Name
Type
Description
@gap
string
The space between rows: xs, s, m, or l, each a --norn-space-* step. The facts in a row are always m apart. A hero sets l. Falls back to xs.
Slots
Name
Description
default
The facts, as <li> elements.
Tokens
The global tokens from tokens.json the component reads. Set one in a project's tokens.css to change it everywhere.
Type a value to try it in every example above. Reset puts the default back.
Token
Type
Default
Override
--norn-ui-accentThe brand color, shared by every component.
<color>
#2346d4
--norn-text-mutedSecondary text color.
<color>
light-dark(#4b5160, #a4abba)
--norn-text-accentThe accent for text and links: darkened in light mode, lightened in dark mode. The lightness caps keep any accent at 4.5:1 or better.