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
| Name | Type | Default | Description |
|---|---|---|---|
| content | String | Text content | |
| style | TextStyle | body | surfaceTitle | indicatorName | segmentTitle | body | caption |
| locale | Locale | en | Locale for number/date formatting |
| density | Density | comfortable | comfortable | compact | dense |
| locale | Locale | en | en | fr |