A themed label that uses design token colors and fonts from the RTK Design System.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
appearance |
RtkTextAppearance |
❌ | - | Text appearance configuration for font and color |
import RealtimeKitUI
let label = RtkLabel()
label.text = "Meeting Room"
view.addSubview(label)import RealtimeKitUI
let appearance = RtkTextAppearance(
font: UIFont.systemFont(ofSize: 16, weight: .semibold),
textColor: .white
)
let label = RtkLabel(appearance: appearance)
label.text = "Meeting Room"
view.addSubview(label)