> ## Documentation Index
> Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Thread Header

> The parent message above a thread's replies, with a live reply count and a bell to follow the thread.

`CometChatThreadHeader` is the strip at the top of a thread: the message the thread
started from, drawn as a bubble; a bar with the reply count; and a bell that follows or
unfollows the thread. It keeps itself up to date — new replies, edits, deletions, receipts
and pins on the parent all show while it is on screen.

![CometChatThreadHeader showing the parent message and its reply count](https://mintcdn.com/cometchat-22654f5b/pWDsskjSUHgot30F/images/ui-kit/ios/v6/docs-overview-thread-header.png?fit=max\&auto=format\&n=pWDsskjSUHgot30F\&q=85\&s=47ea4dbdb688b7dde07762dc4e1d8418)

***

## Where It Fits

The Kit has no thread screen — you compose one from the thread header, the
[message list](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md) in thread mode and the
[message composer](https://www.cometchat.com/docs/ui-kit/ios/v6/message-composer.md) replying in the thread:

```
┌────────────────────────────────┐
│ your bar: "Thread", the chat   │
├────────────────────────────────┤
│ CometChatThreadHeader ← here   │   the parent, "N Replies", the bell
├────────────────────────────────┤
│ CometChatMessageList           │   the replies
├────────────────────────────────┤
│ CometChatMessageComposer       │   replies in the thread
└────────────────────────────────┘
```

> [tab] SwiftUI
>
> The message list raises `onThreadRepliesClick` when someone taps "N replies" or chooses
> **Reply in thread**; open your thread screen from there.

> [tab] UIKit
>
> The message list raises `set(onThreadRepliesClick:)` when someone taps "N replies" or
> chooses **Reply in thread**; push your screen from there.

***

## Quick Start

The list fills the screen, and the thread header and the composer are bars over it, hosted as
[Conversation List + Message View](https://www.cometchat.com/docs/ui-kit/ios/v6/conversation-message-view.md#step-2-set-up-the-message-screen)
hosts the chat's. Stacked in a stack view instead, nothing passes under the bars.

> [tab] SwiftUI
>
> The bars use `safeAreaBar` on iOS 26, so the rows fade softly behind each bar, and
> `safeAreaInset` before it.
>
> ```swift theme={null}
> struct ThreadView: View {
>     let parent: BaseMessage
>     let user: CometChatSDK.User
>
>     var body: some View {
>         CometChatMessageList(user: user, parentMessage: parent)
>             .modifier(ChatBars(
>                 header: CometChatThreadHeader(parentMessage: parent),
>                 composer: CometChatMessageComposer(user: user, parentMessageId: parent.id)))
>     }
> }
>
> /// The header and the composer as bars over the list: the rows scroll under them and rest clear of them.
> struct ChatBars<Header: View, Composer: View>: ViewModifier {
>     let header: Header
>     let composer: Composer
>
>     func body(content: Content) -> some View {
>         let list = content.frame(maxWidth: .infinity, maxHeight: .infinity)
>         if #available(iOS 26.0, *) {
>             // The list's scroll edge effect reaches under each bar: the rows fade softly behind it.
>             list
>                 .safeAreaBar(edge: .top, spacing: 0) { header }
>                 .safeAreaBar(edge: .bottom, spacing: 0) { composer }
>         } else {
>             list
>                 .safeAreaInset(edge: .top, spacing: 0) { header }
>                 .safeAreaInset(edge: .bottom, spacing: 0) { composer }
>         }
>     }
> }
> ```

> [tab] UIKit
>
> The header goes under your navigation bar and the composer on the keyboard layout guide. The
> rows scroll under them on iOS 26. Two things make that work:
>
> * **The bars' heights are the list's safe area.** The list sits in a view controller of its own, and the
>   bars' heights reach it as that controller's `additionalSafeAreaInsets`. The list turns them into its
>   table's content inset, so the first and last rows still come to rest clear of the bars.
> * **Each bar is the table's scroll edge element (iOS 26).** A `UIScrollEdgeElementContainerInteraction`
>   on each bar carries the table's scroll edge effect under it, so the rows fade softly behind the bar.
>   Earlier versions have no edge effect and skip it.
>
> ```swift theme={null}
> final class ThreadViewController: UIViewController {
>     let parentMessage: BaseMessage
>     let user: CometChatSDK.User
>     let header = CometChatThreadHeader()
>     let composer = CometChatMessageComposer()
>     /// Holds the list, so the bars' heights can reach it as safe area.
>     let listController = MessageListController()
>     var list: CometChatMessageList { listController.messageList }
>
>     init(parentMessage: BaseMessage, user: CometChatSDK.User) {
>         self.parentMessage = parentMessage
>         self.user = user
>         super.init(nibName: nil, bundle: nil)
>     }
>     required init?(coder: NSCoder) { fatalError() }
>
>     override func viewDidLoad() {
>         super.viewDidLoad()
>         view.backgroundColor = .systemBackground
>         header.set(parentMessage: parentMessage).set(controller: self)
>         list.set(user: user, parentMessage: parentMessage)
>         composer.set(user: user).set(parentMessageId: parentMessage.id)
>
>         // The list first, so the bars sit over it.
>         addChild(listController)
>         for part in [listController.view, header, composer] as [UIView] {
>             part.translatesAutoresizingMaskIntoConstraints = false
>             view.addSubview(part)
>         }
>         listController.didMove(toParent: self)
>         NSLayoutConstraint.activate([
>             listController.view.topAnchor.constraint(equalTo: view.topAnchor),
>             listController.view.leadingAnchor.constraint(equalTo: view.leadingAnchor),
>             listController.view.trailingAnchor.constraint(equalTo: view.trailingAnchor),
>             // To the composer's bottom: the rows pass under the composer, never under the keyboard.
>             listController.view.bottomAnchor.constraint(equalTo: composer.bottomAnchor),
>
>             header.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor),
>             header.leadingAnchor.constraint(equalTo: view.leadingAnchor),
>             header.trailingAnchor.constraint(equalTo: view.trailingAnchor),
>
>             composer.leadingAnchor.constraint(equalTo: view.leadingAnchor),
>             composer.trailingAnchor.constraint(equalTo: view.trailingAnchor),
>             composer.bottomAnchor.constraint(equalTo: view.keyboardLayoutGuide.topAnchor),
>         ])
>
>         if #available(iOS 26.0, *) {
>             // The table's scroll edge effect reaches under each bar: the rows fade softly behind it.
>             for (bar, edge) in [(header as UIView, UIRectEdge.top), (composer, .bottom)] {
>                 let element = UIScrollEdgeElementContainerInteraction()
>                 element.scrollView = list.tableView
>                 element.edge = edge
>                 bar.addInteraction(element)
>             }
>         }
>     }
>
>     // The bars' heights, as the list's safe area. The composer's grows with the keyboard and a reply
>     // preview, and the list keeps its newest row clear of it.
>     override func viewDidLayoutSubviews() {
>         super.viewDidLayoutSubviews()
>         let container: UIView = listController.view
>         // The list's safe area is the screen's (the status bar, the home indicator) plus `added`.
>         let added = listController.additionalSafeAreaInsets
>         let inherited = container.safeAreaInsets
>         let headerBottom = view.convert(header.frame, to: container).maxY
>         let composerTop = view.convert(composer.frame, to: container).minY
>         let insets = UIEdgeInsets(
>             top: max(0, headerBottom - (inherited.top - added.top)),
>             left: 0,
>             bottom: max(0, container.bounds.maxY - composerTop - (inherited.bottom - added.bottom)),
>             right: 0)
>         if insets != added { listController.additionalSafeAreaInsets = insets }
>     }
> }
>
> /// The list, full-bleed, in a view controller of its own: its `additionalSafeAreaInsets` are how the
> /// bars' heights reach the list.
> final class MessageListController: UIViewController {
>     let messageList = CometChatMessageList()
>
>     override func viewDidLoad() {
>         super.viewDidLoad()
>         messageList.translatesAutoresizingMaskIntoConstraints = false
>         view.addSubview(messageList)
>         NSLayoutConstraint.activate([
>             messageList.topAnchor.constraint(equalTo: view.topAnchor),
>             messageList.leadingAnchor.constraint(equalTo: view.leadingAnchor),
>             messageList.trailingAnchor.constraint(equalTo: view.trailingAnchor),
>             messageList.bottomAnchor.constraint(equalTo: view.bottomAnchor),
>         ])
>     }
> }
> ```
>
> `CometChatThreadHeader` is a `UIView`. It listens while it is in a window and stops when it
> leaves; `connect()` and `disconnect()` do the same by hand. `set(controller:)` is where its
> toast shows.

The header fetches nothing: hand it the parent you already hold.

***

## What It Shows

| Part | Shows |
| - | - |
| the parent | the message's bubble, without its "N replies" row. A group parent shows its sender's avatar and name; yours sits on the right with its receipt |
| the bar | "0 Replies", "1 Reply", "12 Replies" |
| the bell | `bell` while you do not follow the thread, `bell.slash` while you do |

> [tab] SwiftUI
>
> The parent is drawn with the list's bubble for the message. A new parent object — a refetched
> copy, say — re-reads its reply count and its subscription. The strip is at most `maxHeight`
> tall — 250 pt. A taller parent scrolls inside it and the bar stays at the bottom. Pass `nil`
> for no cap.

> [tab] UIKit
>
> The parent is drawn with the list's bubble for the message — your templates and
> `messageBubbleStyle`. The strip is at most `maxHeight` tall — 250 pt. A taller parent scrolls
> inside it.

### The reply count

The count starts from the parent's `replyCount` and goes up for every reply to the thread:
anyone's, of every message kind, including yours — whether sent here or from another of
your devices. Each reply counts once. A deleted reply **stays counted**, as the server's
count does. Replies from an AI assistant do not count.

> [tab] SwiftUI
>
> `hideReplyCount` hides the count's text; `replyCountView` replaces it.

> [tab] UIKit
>
> `set(count:)`, `incrementCount()` and `reset()` write the label; the next reply writes it
> again from the real count. `singleNewMessageText` replaces "1 Reply"; `multipleNewMessageText`
> is not read.

***

## Actions and Events

### Callback Methods

> [tab] SwiftUI
>
> | Prop | Signature | When |
> | - | - | - |
> | `onSubscriptionToggle` | `(Bool) -> Void` | the server accepts a follow or unfollow; receives the new state |

> [tab] UIKit
>
> | Setter | Signature | When |
> | - | - | - |
> | `set(onThreadSubscriptionToggle:)` | `(Bool) -> Void` | the server accepts a follow or unfollow; receives the new state |

### SDK Events (Real-Time, Automatic)

No wiring required. New replies, edits, deletions, receipts and pins on the parent all show
while the header is on screen.

***

## Following the Thread

The bell follows or unfollows the thread through `CometChatThreadSubscription`. It shows
when thread subscriptions are on and the parent has been sent. A tap shows a toast, and the
callback hears the new state once the server accepts it:

> [tab] SwiftUI
>
> ```swift theme={null}
> CometChatThreadHeader(parentMessage: parentMessage, onSubscriptionToggle: { following in
>     log(following ? "following" : "not following")
> })
> ```
>
> `isSubscribed` sets the bell's state instead of the parent's flag, until the thread's next
> change. The bell follows changes made anywhere — the message list's menu, another screen —
> because they all go through `CometChatThreadSubscription`.

> [tab] UIKit
>
> ```swift theme={null}
> func follow(_ header: CometChatThreadHeader) {
>     header.set(onThreadSubscriptionToggle: { following in
>         print(following ? "following" : "not following")
>     })
> }
> ```
>
> The toast shows on `controller`.
>
> > [!WARNING]
> >
> > **The bell is shown by default.** If your screen's bar has a bell, hide this one:
> > `header.set(hideThreadSubscriptionButton: true)`. A bar bell is yours to build over
> > `CometChatThreadSubscription.toggle(_:currentlySubscribed:)` and
> > `CometChatEvents.shared.threadEvents`; the Kit ships none.

A failed toggle shows the failure toast and calls nothing. A second tap within 400 ms, or
while one is in flight, does nothing.

***

## Functionality

> [tab] SwiftUI
>
> | Prop | Type | Default |
> | - | - | - |
> | `parentMessage` | `BaseMessage` | required |
> | `store` | `CometChatThreadHeaderStore?` | `nil` |
> | `style` | `CometChatThreadHeaderStyle` | |
> | `hideReactions`, `hideAvatar`, `hideReceipts`, `hideReplyCount`, `hideReplyCountBar`, `hideThreadSubscription` | `Bool` | `false` |
> | `isSubscribed` | `Bool?` | `nil` |
> | `maxHeight` | `CGFloat?` | 250 |
> | `alignment` | `MessageListAlignment` | `.standard` |
> | `textFormatters` | `[any CometChatTextFormatter]?` | `nil` |
> | `timeFormat` | `String?` | `nil` |
> | `dateTimeFormatter` | `(any CometChatDateTimeFormatter)?` | `nil` |
> | `imageSource` | `any ImageSource` | `CometChatSharedImageSource()` |
> | `bubbleFactories` | `[any BubbleFactory]` | `[]` |
> | `leftBubbleMargin`, `rightBubbleMargin` | `EdgeInsets` | |

> [tab] UIKit
>
> | Method or property | Type | Does |
> | - | - | - |
> | `set(parentMessage:)` | `BaseMessage` | the parent the thread started from |
> | `set(templates:)`, `add(template:)` | `[CometChatMessageTemplate]`, `CometChatMessageTemplate` | the parent's bubble — see Custom View Slots |
> | `set(textFormatters:)` | `[any CometChatTextFormatter]` | text formatters for the parent |
> | `maxHeight` | `CGFloat` | the strip's height cap; 250 by default |
> | `messageAlignment` | `MessageListAlignment` | the bubble's alignment |
> | `set(leftBubbleMargin:)`, `set(rightBubbleMargin:)` | `UIEdgeInsets` | the bubble's margins |
> | `dateTimeFormatter` | `(any CometChatDateTimeFormatter)?` | the time format |
> | `set(controller:)` | `UIViewController?` | where the toast shows |
> | `set(store:)` | `CometChatThreadHeaderStore` | the store the header reads |

### Hiding Parts

> [tab] SwiftUI
>
> | Parameter | Hides |
> | - | - |
> | `hideReactions` | the parent's reactions — and reaction events are ignored |
> | `hideAvatar` | a group parent's avatar |
> | `hideReceipts` | the parent's receipt |
> | `hideReplyCount` | the count's text; the bar and the bell stay |
> | `hideReplyCountBar` | the bar **and the bell** |
> | `hideThreadSubscription` | the bell |
>
> To hide the bell and put your own in your screen's bar:
>
> ```swift theme={null}
> CometChatThreadHeader(parentMessage: parentMessage, hideThreadSubscription: true)
> ```
>
> Or hide parts for every thread header in a subtree:
>
> ```swift theme={null}
> MyAppRoot()
>     .cometChatThreadHeaderHidden([.replyCount, .threadSubscription])
> ```

> [tab] UIKit
>
> | Property | Hides |
> | - | - |
> | `hideReactions` | the parent's reactions — and reaction events are ignored |
> | `hideAvatar` | `nil` (default): a group parent shows its avatar, a one-to-one parent does not; `true`: hidden; `false`: shown, in a one-to-one thread too |
> | `hideReceipt` | the parent's receipt |
> | `hideBubbleHeader` | the sender's name above the parent |
> | `hideReplyCount` | the count's text; the bar and the bell stay |
> | `hideReplyCountBar` | the bar **and the bell** |
> | `hideThreadSubscriptionButton` | the bell; `false` by default |

***

## Custom View Slots

> [tab] SwiftUI
>
> Replace the parent's bubble, the count's text or the bell. The count view is handed the
> count and gets no padding of its own:
>
> ```swift theme={null}
> CometChatThreadHeader(
>     parentMessage: parentMessage,
>     threadSubscriptionView: { AnyView(Image(systemName: "star")) },
>     messageBubbleView: { message in AnyView(Text(message.text ?? "").padding()) },
>     replyCountView: { count in AnyView(Text("\(count) ↩").padding(.horizontal, 20)) }
> )
> ```
>
> The bell's replacement shows only where the bell would — never on an unsent parent or
> with thread subscriptions off. The same three slots are modifiers, for a whole subtree;
> an initialiser argument wins:
>
> ```swift theme={null}
> MyAppRoot()
>     .cometChatThreadHeaderReplyCountView { count in Text("\(count) ↩") }
> ```
>
> | Slot | Replaces | Modifier |
> | - | - | - |
> | `messageBubbleView` | the parent's bubble | `.cometChatThreadHeaderMessageBubbleView` |
> | `replyCountView` | the count's text | `.cometChatThreadHeaderReplyCountView` |
> | `threadSubscriptionView` | the bell | `.cometChatThreadHeaderThreadSubscriptionView` |
>
> `bubbleFactories` draw the parent with your bubble for its kind, as in the message list.

> [tab] UIKit
>
> The parent is drawn by the message list's bubble, so the list's templates work here:
>
> ```swift theme={null}
> func customise(_ header: CometChatThreadHeader) {
>     let text = CometChatMessageTemplate(category: "message", type: "text", contentView: { message, _, _ in
>         let label = UILabel()
>         label.text = (message as? TextMessage)?.text
>         return label
>     })
>     header.set(templates: [text])
> }
> ```
>
> `set(templates:)` replaces the templates; `add(template:)` adds one, the last for a kind
> winning. To replace the bell or the count, subclass — see Subclassing below.

***

## Common Patterns

### A bell in your bar instead

> [tab] SwiftUI
>
> To put the bell in your screen's bar, hide this one and build yours over
> `CometChatThreadSubscription` — it owns the debounce, the optimistic update and the revert:
>
> ```swift theme={null}
> struct ThreadBell: View {
>     let parent: BaseMessage
>     @State private var following = false
>
>     var body: some View {
>         if CometChatThreadSubscription.isAvailableForThread(parent) {
>             Button {
>                 Task { _ = await CometChatThreadSubscription.toggle(parent, currentlySubscribed: following) }
>             } label: {
>                 Image(systemName: following ? "bell.slash" : "bell")
>             }
>             .accessibilityLabel(following ? CometChatStrings.threadMute : CometChatStrings.threadUnmute)
>             .task(id: parent.id) {
>                 following = parent.threadSubscribed
>                 for await event in CometChatEvents.shared.threadEvents {
>                     if case let .subscriptionChanged(id, value) = event, id == parent.id { following = value }
>                 }
>             }
>         }
>     }
> }
> ```

> [tab] UIKit
>
> To put the bell in your screen's bar, hide this one with `set(hideThreadSubscriptionButton: true)`
> and build yours over `CometChatThreadSubscription.toggle(_:currentlySubscribed:)` and
> `CometChatEvents.shared.threadEvents`; the Kit ships no bar bell.

***

## Advanced Methods

### Store Access

> [tab] SwiftUI
>
> `CometChatThreadHeaderStore` holds the parent, the count and the subscription. Pass your
> own to read them, or a seeded one for a preview — a seeded store never listens:
>
> ```swift theme={null}
> #Preview {
>     CometChatThreadHeader(parentMessage: TextMessage(receiverUid: "alice", text: "Agenda?", receiverType: .user),
>                           store: CometChatThreadHeaderStore(seeded: .sampleMany))
> }
> ```
>
> The store has `getCurrentParentMessage()`, `toggleThreadSubscription()`, the observable
> `state` and `onSubscriptionToggle`.

> [tab] UIKit
>
> The header's store is `store`, and `set(store:)` replaces it.

### Subclassing

> [tab] SwiftUI
>
> `CometChatThreadHeader` is a `View` struct. Customise it with its slots, modifiers and style.

> [tab] UIKit
>
> These override points are `open`: `setupViewModel()`, `setupStyle()`, `buildUI()`,
> `setupMessageBubbleView()`, `setupThreadCountIndicator()`, `updateThreadSubscriptionState()`,
> `renderThreadSubscription(isSubscribed:)`, `onThreadSubscriptionButtonTapped()`, `connect()`,
> `disconnect()` and `willMove(toWindow:)`. They draw what the store decided — override them to
> change how it looks:
>
> ```swift theme={null}
> final class CompactThreadHeader: CometChatThreadHeader {
>     override func setupThreadCountIndicator() {
>         set(count: store.state.replyCount)
>         threadCountLabel.text = "\(store.state.replyCount) ↩"
>     }
>
>     override func renderThreadSubscription(isSubscribed: Bool) {
>         super.renderThreadSubscription(isSubscribed: isSubscribed)
>         threadSubscriptionButton.setImage(UIImage(systemName: isSubscribed ? "star.fill" : "star"), for: .normal)
>     }
> }
> ```
>
> The subviews are `bubbleScrollView`, `bubbleContainerView`, `threadCountContainerView`,
> `threadCountLabel` and `threadSubscriptionButton`.

### Objective-C

> [tab] SwiftUI
>
> Not applicable — `CometChatThreadHeader` is a SwiftUI `View`.

> [tab] UIKit
>
> `CometChatThreadHeader` is Objective-C compatible, except `hideAvatar` (`Bool?`),
> `set(textFormatters:)`, `set(onThreadSubscriptionToggle:)` and `set(store:)`.

***

## Accessibility

* The count reads as "3 Replies" and is a header.
* The bell is a button labelled with its action: "Subscribe to thread" or "Unsubscribe
  from thread".

> [tab] SwiftUI
>
> The bell's tap area is 44 × 44. The parent reads as the message list's row does.

> [tab] UIKit
>
> The bell is drawn 24 × 24 and taps at 44 × 44.

***

## Style

> [tab] SwiftUI
>
> `CometChatThreadHeaderStyle` is sparse: set only what you change.
>
> | Property | Default |
> | - | - |
> | `backgroundColor` | `background3` |
> | `strokeColor`, `strokeWidth` | clear, 0 — a border is drawn above 0 |
> | `cornerRadius` | 0 |
> | `replyCountBackgroundColor` | `extendedPrimary100` — the bar |
> | `replyCountTextColor`, `replyCountTextStyle` | `textSecondary`, `bodyRegular` |
> | `threadSubscriptionTintColor` | `iconTintPrimary` — the bell, not following |
> | `threadSubscriptionSelectedTintColor` | `iconTintHighlight` — the bell, following |
> | `incomingMessageBubbleStyle`, `outgoingMessageBubbleStyle` | not applied |
>
> ```swift theme={null}
> var style = CometChatThreadHeaderStyle()
> style.replyCountBackgroundColor = .yellow
> style.threadSubscriptionSelectedTintColor = .orange
>
> CometChatThreadHeader(parentMessage: parentMessage, style: style)
> ```
>
> > [!NOTE]
> >
> > `incomingMessageBubbleStyle` and `outgoingMessageBubbleStyle` are accepted and change
> > nothing. Style the parent with `bubbleFactories`, or with the message list's style.

> [tab] UIKit
>
> `ThreadedMessageHeaderStyle` has thirteen fields. Unset ones follow the theme:
>
> | Property | Default |
> | - | - |
> | `backgroundColor`, `borderColor`, `borderWith`, `cornerRadius` | `background3`, clear, 0, 0 |
> | `bubbleContainerBackgroundColor`, `bubbleContainerBorderColor`, `bubbleContainerBorderWidth`, `bubbleContainerCornerRadius` | clear, clear, 0, 0 — the parent's area |
> | `dividerTintColor` | `extendedPrimary100` — the bar |
> | `countTextColor`, `countTextFont` | `textSecondary`, `bodyRegular` |
> | `subscriptionTintColor`, `subscriptionSelectedTintColor` | `iconTintPrimary`, `iconTintHighlight` — the bell |
>
> ```swift theme={null}
> func restyle(_ header: CometChatThreadHeader) {
>     let style = ThreadedMessageHeaderStyle()
>     style.dividerTintColor = .systemYellow
>     style.subscriptionSelectedTintColor = .systemOrange
>     header.style = style
>
>     CometChatThreadHeader.style.countTextColor = .secondaryLabel   // every new header
> }
> ```
>
> The parent's bubble takes `messageBubbleStyle`, the message list's by default.

***

## Next Steps

> [card] [Message List](https://www.cometchat.com/docs/ui-kit/ios/v6/message-list.md)
>
> Show the thread's replies

> [card] [Message Composer](https://www.cometchat.com/docs/ui-kit/ios/v6/message-composer.md)
>
> Reply in the thread

> [card] [Conversation List + Message View](https://www.cometchat.com/docs/ui-kit/ios/v6/conversation-message-view.md)
>
> Host the chat's message screen

> [card] [Threaded Messages](https://www.cometchat.com/docs/ui-kit/ios/v6/guide-threaded-messages.md)
>
> Build a thread screen end to end


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.