- Home
- /Realtime
- /…
- /iOS
- /RtkButton
RtkButton
Last updated Apr 23, 2026|Copy as Markdown|View as Markdown|Agent setup OverviewInitializer parametersUsage ExamplesBasic UsageWith custom style
A versatile button that follows the RTK Design System.
Supports multiple styles, states, and sizes.
import RealtimeKitUI
let button = RtkButton()
button.setTitle("Join", for: .normal)
view.addSubview(button)
import RealtimeKitUI
let button = RtkButton(
style: .line,
rtkButtonState: .active,
size: .large
)
button.setTitle("Cancel", for: .normal)
view.addSubview(button)
PreviousRtkAvatarViewNextRtkClockView