14 · Temas e marca

Logo

tone accent · mono

Bloco de marca: símbolo num quadrado inverse de raio 10, nome em 600 e o contexto em muted.

Marca aparecendo

.heex
<.logo tone="mono" size={56} class="w-fit animate-[mo-float_4s_ease-in-out_infinite]" />

tone accent · mono

.heex
<div class="flex flex-wrap items-center gap-2.5"><.logo size={40} glyph={18} /><.logo tone="mono" size={40} glyph={18} /></div>

Completo

.heex
<.rail_workspace name="Ledgerly" subtitle="Orbit Cloud · Finance" bare class="w-[280px]"><.logo tone="mono" size={36} /></.rail_workspace>

Compacto

Ledgerly
.heex
<div class="flex flex-wrap items-center gap-2.5"><.logo tone="mono" size={40} /><.logo tone="mono" size={28} name="Ledgerly" word_size={20} gap="lg" /></div>

Sobre superfícies

.heex
<div class="flex flex-wrap items-center gap-2.5"><span class="rounded-[14px] border border-line bg-shell p-4"><.logo tone="mono" size={36} /></span><span class="rounded-[14px] bg-inverse p-4"><.logo tone="inverse" size={36} /></span></div>

Uso

<.logo name="Ledgerly" context="Orbit Cloud · Finance" />

Regras

  • Substitua o símbolo pelo do produto; mantenha o quadrado inverse para contrastar no shell.
  • Versão compacta (só símbolo) no trilho de ícones e na sidebar recolhida.
  • Nunca coloque o logo sobre teal: use inverse ou bg-panel.

Referência da API

Todos os function components, atributos, valores e slots que este componente cobre.

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 tile of the theme accent, 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 only utilities (--s is its side, set inline). 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.

<.logo>

Attr Type Default Values / notes
id :string nil Names the gradient of the drop; without one the drop is flat.
mark :string "chart" chart, hexagon
size :integer 32 The side of the mark, in px.
glyph :integer nil The chart glyph's side in px (chart mark); half of size by default.
tone :string "accent" accent, mono, inverse - mono is an inverse tile; inverse the opposite one (for an inverse surface).
gap :string "base" base, lg - Mark to word: base is .4em, lg 10px (the canvas brand).
wordmark :boolean false Adds "Ledger UI" after the mark.
word_size :integer nil Size of the word in px (default 0.6 x size, at most 30).
name :string nil Your brand's name, written after the mark (it implies wordmark) and used as its accessible name.
context :string nil A muted line under the name: the workspace or the product line.
label :string nil The accessible name (the name, or "Ledger UI").
class :any nil

Any other HTML/phx attribute goes to the root element.