Atom

Text

Typography primitive. Supports style variants: surface-title, indicator-name, segment-title, body, caption. Emits span.ks-text.

Knobs
Density
Locale
Live Preview
Surface Title (surface-title) Indicator Name (indicator-name) Segment Title (segment-title) Body text — default style Caption text (caption)
Code (Katagami DSL)
Text("Portfolio Pro", style: .surfaceTitle)
Text("BEL20", style: .indicatorName)
Text("Grandes Capitalisations", style: .segmentTitle)
Text("Body text")
Text("Caption note", style: .caption)
Props
NameTypeDefaultDescription
contentStringText content
styleTextStylebodysurfaceTitle | indicatorName | segmentTitle | body | caption
localeLocaleenLocale for number/date formatting
densityDensitycomfortablecomfortable | compact | dense
localeLocaleenen | fr
Used In