Open
Conversation
This PR adds a simple, customizable tab bar component for Bubble Tea applications. The TabBar provides a horizontal tab navigation system that can be used to switch between different views within an application. Features: - Horizontal tabs with customizable styling - Active tab highlighting with different border colors - Keyboard navigation methods (Next, Prev, Activate) - Adjustable width to fit different layouts - Simple API integration with Bubble Tea applications 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
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.
New Component: TabBar
This PR adds a simple, customizable tab bar component for Bubble Tea applications.
Description
The TabBar component provides a horizontal tab navigation system that can be used to switch between different views within a Bubble Tea application. It supports keyboard navigation, custom styling, and active tab highlighting.
Features
Example
Motivation
Many Bubble Tea applications need tabbed interfaces to organize content, but there isn't a standard component for this in the bubbles library. This component fills that gap with a simple, reusable implementation.
Testing
I've tested this component in several projects, including the CloudWorkstation TUI, which uses it for its main navigation system. The example in this PR demonstrates the component's functionality.
Notes
🤖 Generated with Claude Code