Markdown
Rendered GitHub-flavoured markdown, for prose.
Group: Text · Kind: native · in the lite catalog
Preview
Section titled “Preview”example
Bold and a list:
- one
- two
Platforms
Section titled “Platforms”The same specimen painted by React, SwiftUI, Compose and gpui.




| Prop | Type | Required | Bindable | Description |
|---|---|---|---|---|
text |
markdown |
yes | yes | The GFM source. |
lines |
number |
– | – | Truncates the rendered body to this many lines with an ellipsis. |
style |
style |
– | – | Extra Box styles for the markdown box. |
Events
Section titled “Events”None.
None.
Children
Section titled “Children”none
A2UI basic mapping
Section titled “A2UI basic mapping”No basic catalog component maps here.
Built from
Section titled “Built from”A native component: every renderer paints it directly.
Accessibility
Section titled “Accessibility”Role: document
document fragment (headings, lists, links, tables keep their roles)
| Keys | Action |
|---|---|
| – | Tab moves through the links |
Theming
Section titled “Theming”Recipe parts: Markdown/root Markdown/paragraph Markdown/heading Markdown/link Markdown/code Markdown/codeBlock Markdown/quote Markdown/table Markdown/listItem
Keyed by: :hover :pressed :focus :disabled :checked :open :selected :invalid :dragover