Parameters
The text content to display. Can be a plain string or an object with a
markdown property for markdown-formatted text.A view that displays one or more lines of read-only text.
Text(content: string | { markdown: string }): Component;
markdown property for markdown-formatted text.Text("Hello, World!")
Text("Styled text")
.font("headline")
.foregroundStyle(Color("blue"))
.bold()
Text({ markdown: "**Bold** and *italic* text with [links](https://example.com)" })
Text("This is a longer text that will wrap across multiple lines")
.multilineTextAlignment("center")
.lineLimit(3)