Hasty Briefsbeta

Bilingual

Show HN: Bonsplit – tabs and splits for native macOS apps

2 months ago
  • #macOS
  • #SwiftUI
  • #TabBar
  • Bonsplit is a macOS library for creating custom tab bars and layout splits.
  • Features include 120fps animations, drag-and-drop reordering, SwiftUI support, and keyboard navigation.
  • Tabs can be created with optional icons and dirty indicators, targeting specific panes or the focused pane.
  • Panes can be split horizontally or vertically, with new panes being empty by default.
  • Tab properties like title, icon, and dirty status can be updated at any time with smooth animations.
  • Navigation between panes can be done programmatically using directional commands.
  • Bonsplit offers a complete reference for classes, methods, and configuration options.
  • Configuration options include settings for splits, tab closing, pane management, and tab content lifecycle.
  • Appearance customization includes tab bar height, tab width, spacing, and animation settings.