The Ledger UI mark. By default the chart glyph of the design canvas (an axis with a rising
line) on a rounded tile: tone="accent" is a teal tile, tone="mono" the inverse tile.
mark="hexagon" draws the README mark instead: a drop inside a hexagon (the ring follows the
page ink, the drop takes the theme accent, or silver with tone="mono").
<.logo />
<.logo size={28} wordmark />
<.logo tone="mono" size={56} />
<.logo mark="hexagon" id="hero-logo" size={96} />The tile is styled by .lu-logomark in ledger_ui.css (--s is the side). With mark="hexagon"
and an id the drop gets a soft gradient named after it (<id>-drop); without one it is flat,
so the markup stays deterministic and logos never borrow each other's gradient.
Summary
Functions
Attributes
id(:string) - Names the gradient of the drop; without one the drop is flat. Defaults tonil.mark(:string) - Defaults to"chart". Must be one of"chart", or"hexagon".size(:integer) - The side of the mark, in px. Defaults to32.tone(:string) - Defaults to"accent". Must be one of"accent", or"mono".wordmark(:boolean) - Adds "Ledger UI" after the mark. Defaults tofalse.word_size(:integer) - Size of the word in px (default 0.6 x size, at most 30). Defaults tonil.name(:string) - Your brand's name, written after the mark (it implieswordmark) and used as its accessible name. Defaults tonil.context(:string) - A muted line under thename: the workspace or the product line. Defaults tonil.label(:string) - The accessible name (thename, or "Ledger UI"). Defaults tonil.class(:any) - Defaults tonil.- Global attributes are accepted.