You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
header.afterBadge on SidebarFrame. An optional callback whose output sits right after the header badge, before the version, on the same row. Use it for a status marker such as a warning or a second badge.
The frame only places it in the header row, centred beside the badge. It adds no styling, spacing, text fitting or shrink rule. The panel brings its own colours, margin and padding.
It shows when the panel is collapsed, when it's expanded, and with collapsible={false}. Clicking it does what clicking the rest of the header does: it toggles a panel that can collapse, and nothing otherwise.
It runs inside the frame, so signals and theme changes update it.
Compatibility
No breaking changes: every 0.2.0 export and prop keeps its behaviour, and a panel without afterBadge renders byte for byte as in 0.2.0.
The peers are unchanged: OpenTUI 0.4.5 or later, and Solid. The package is still checked on OpenTUI 0.4.5 and 0.5.11.
When the header is too narrow for the badge, marker and version, OpenTUI's own layout decides how the row shrinks or wraps. The frame doesn't cut or fit the marker.