Available View Slots
Section names are concepts; the two toolkits spell some slots differently on purpose.How It Works
- SwiftUI
- UIKit
Every slot is available two ways: as an initialiser argument returning The closure receives the Kit’s value type —
AnyView, and as
a modifier with a @ViewBuilder closure that cascades to every instance of that component
below it in the hierarchy.ChatConversation, ChatUser, ChatGroup,
ChatGroupMember — not an SDK object. Supply both an argument and a modifier and the
argument wins.Example: Custom Leading View
Replace the avatar with the first letter of the conversation’s name.- SwiftUI
- UIKit

A custom leading view (SwiftUI)
Example: Custom Subtitle View
Show “typing…” while someone types, else the last message.- SwiftUI
- UIKit

A custom subtitle view (SwiftUI)
Replace the Whole Row
- SwiftUI
- UIKit

itemView (SwiftUI)
Replacing the cell (UIKit)
Subclass the built-in cell and set its class to keep the stock row and change part of it:
Toolbar Overflow Menu
Add your own control to the component’s toolbar. This is separate from the row slots.- SwiftUI
- UIKit
Components with View Slots
- SwiftUI
- UIKit
Related
- Styles — change appearance without replacing views.
- State Views — the loading, empty and error views.
- Customization Overview — every customization category.