Repository navigation
[HOLD 3.1] TabBar: phone bottom navigation that pairs with Sidebar - #527
Merged
Merged
Conversation
TabBar, TabBarItem and TabBarSidebarTrigger: the four most used places along the bottom edge in thumb reach, hidden above showBelow (default s, Sidebar's own drawer edge). The last item, More, opens the Sidebar's phone drawer; Sidebar's new mobileSide="bottom" makes that drawer a sheet that rises from it. Current item aria-current=page on a pill, counts (9+) and dots, safe-area padding, and a spacer so page ends never sit under it. Built first in Sigilio (sigilio#84) on 2.8 primitives. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtxdGNyyxC6qG1tzHV1
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtxdGNyyxC6qG1tzHV1
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtxdGNyyxC6qG1tzHV1
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtxdGNyyxC6qG1tzHV1
The whole slot is the button, icon and label centred in it, and the current item fills the slot with a soft tile instead of a pill over the icon, so the tap target and the highlight are the same shape. Pressing tints the whole slot. A 4px gap between items. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtybUWM9Z2AgZdqsQPo
lorant-one
changed the base branch from
feat/3-0-breaking-cleanup
to
preview
November 23, 2026 20:50
27 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Lorant · project thread
Lorant found Sigilio's phone nav (a hamburger and a workspace select) unimpressive, and asked whether core needs a better pattern. Sigilio got one in sigilio#84 on core 2.8 primitives. This PR moves that pattern into core, so every app on Sidebar v2 gets it. It's based on the 3.0 branch and held for 3.1; it should not go into the 3.0 freeze.
What it adds
TabBar: a fixed bar along the bottom edge for the four most used places.showBelow, which defaults tos, the same edge where Sidebar becomes a drawer. It is hidden above that, where the Sidebar is the nav.env(safe-area-inset-bottom).spacer(on by default) leaves room for the bar, so the end of a page never sits under it.TabBarItem: an icon over a short label, rendered through the Link adapter like NavItem.selectedsetsaria-current="page"and fills the slot with a soft tile, so the tap target and the highlight are the same shape (23 Nov, from Lorant's note on Tavilio's bar).badgetakes a count (shown as 9+ past nine, read as "n unread") ortruefor a dot.TabBarSidebarTrigger: the last item, "More". It opens the Sidebar's phone drawer and shows as selected while the drawer is open.Sidebar mobileSide="bottom": the phone drawer becomes a bottom sheet that rises from the More button. The default stays"left".Also included: docs (a "With a tab bar" section in Sidebar's page, plus props tables), catalog seed entries, the
./components/TabBarsubpath, render fixtures, and regeneratedai/files.Checks
tab-bar.test.tsx(9 tests) passes, covering: named navigation, current page, 9+ cap and unread text, spacer, axe, and More opening the sidebar as a bottom sheet and closing it from a link.pnpm typecheckpasses, and Biome is clean on the touched files.After 3.1
Sigilio swaps its own
MobileNavfor this once it's on 3.x. Aveiro, Tavilio and Stack can use the same pattern with Sidebar v2. Tavilio#293 and sigilio#131 already use the full-slot look.Generated by Claude Code