jixoai-ui
the terminal design language
loading the style sheet…
Skip to content
docs · print medium: screen

registry:ui · layout

figure — the 浮 primitive

A native <figure> that numbers itself from its Section's numbering domain: chapter-scoped per kind (Eq 4.5) or document-continuous by declaration, the caption riding label + number + text, the id making it referenceable. The line carries structure; the point inside carries meaning — code today, math and industry points as they land.

native <figure> kind axis · figure/table/equation/listing display currency — reorder renumbers

figure

Two kinds under one numbering domain; the paragraph's Reference resolves the second equation's number from the registry.

1

1 Results

Equation 1.1 the momentum balance
eq 4.1
p = m · v
Equation 1.2 the energy bound · § 4.1
eq 4.2
E ≤ mc²

the bound of Eq (1.2) follows from Eq (1.1).

figure-usage.svelte svelte
<NumberingProvider>
  <Section numbering="decimal" title="Results">
    <Figure kind="equation" id="eq-1" caption="the momentum balance">
      <CodeCard lang="ts">p = m·v</CodeCard>
    </Figure>
    <p>see <Reference to="eq-1" /></p>
  </Section>
</NumberingProvider>

usage

Usage

Wrap any point; declare the domain on the Section; address by explicit id. A Figure outside every domain renders unnumbered with a dev warning.

usage
<NumberingProvider>
  <Section numbering="decimal" title="Results">
    <Figure kind="equation" id="eq-1" caption="the momentum balance">
      <CodeCard lang="ts">p = m·v</CodeCard>
    </Figure>
    <p>see <Reference to="eq-1" /></p>
  </Section>
</NumberingProvider>

a11y

Accessibility

ARIA

AttributeValueDescription
figure/figcaptionnative elementsThe platform announces the figure role and its caption; no extra ARIA.
data-jx-numbertext contentThe number is real heading/caption text — screen readers read it.

axes

Universal props

The eight-axis surface (explicit-props): size · shape · radius · density · color · theme · elevation · motion — each axis takes named steps, auto (inherit the ambient context; stamps nothing), an exact number (px · coefficient · dp · hue per axis), or query() for responsive/container-conditional values. FIRST-TIME contract, all no-own: document content (the numbering machinery is structural context, never paint).

Figure · universal props

The float primitive forwards the axes; the figcaption shape is frozen.

figure-universal.svelte svelte
<Figure size="medium">…</Figure>

api

Figure props

Properties

PropertyTypeDefaultDescription
kind * 'figure' | 'table' | 'equation' | 'listing'—The counter membership and display word (single-source labels; the customization axis is the R5 preset round).
id string—Optional explicit address — a Figure without an id still numbers but is not referenceable; numbers are display currency, never addresses.
caption string—Caption body text after the label + number; omitted renders label + number only.
citedIn string[]—The MANUAL backlink lane (Owner 2026-09-04): display strings rendered verbatim in the caption tail and emitted as a JSON data attribute. Automatic backlink rendering is a documented gap — see the component header.
children * Snippet—The content slot — any point (CodeCard today, the R6 industry points as they land).
class string—Passes through to the figure root.

Universal props

PropertyTypeDefaultDescription
size'small' | 'medium' | 'large' | 'auto' | number'auto' · ambient scopethe base scale — root font-size; parts size in em
shape'round' | 'scoop' | 'bevel' | 'notch' | 'square' | 'squircle' | 'auto''auto' · ambient scopecorner geometry (CSS corner-shape; §14 degrade table)
radius'small' | 'medium' | 'large' | 'auto' | number'auto' · ambient scopecorner size; auto = the concentric broadcast (§3)
density'small' | 'medium' | 'large' | 'auto' | number'auto' · ambient scopespacing/leading scale over the kernel channels (§4)
color'primary' | 'secondary' | 'error' | 'warn' | 'success' | 'info' | 'auto' | number | string'auto' · ambient scopethe hue axis of the fixed oklch primary system (§5)
theme'light' | 'dark' | 'system' | 'auto''auto' · ambient scopelight/dark profile; system = the JS-mutable global (§6)
elevation'level-1' | 'level0' | 'level1' | 'level2' | 'level3' | 'level4' | 'level5' | 'auto' | number'auto' · ambient scopeofficial M3 levels over the surface ladder (§7)
motion'reduced' | 'subtle' | 'normal' | 'expressive' | 'auto' | number'auto' · ambient scopeintensity across the motion kernels (§8)
jixoai-ui ui.jixoai.com the jixoai design language

Theme

Brand hue

0°

Auto cycle · 24h