swiftui-toolbars

Community

Flexible, platform-aware SwiftUI toolbars

AuthorAutisticAF
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides practical patterns and code examples to implement modern, customizable toolbars in SwiftUI, solving inconsistent toolbar layouts, poor search integration, and awkward transitions across iOS, iPadOS, and macOS.

Core Features & Use Cases

  • Customizable toolbars: Use .toolbar(id:) with ToolbarItem(id:) to let users add, remove, and reorder items.
  • Search integration: Pair .searchable() with .searchToolbarBehavior(.minimize) and reposition default search using DefaultToolbarItem.
  • Transitions and animations: Create matched transitions from toolbar items with .matchedTransitionSource and navigationTransition(.zoom).
  • Platform-specific placements: Use placements like .bottomBar, .largeSubtitle, and DefaultToolbarItem to adapt to iPhone, iPad, and macOS conventions.
  • Practical checks: Includes API availability guidance, anti-patterns, top mistakes, and a review checklist for robust implementations.

Quick Start

Use the swiftui-toolbars skill to add a customizable toolbar with search, matched-transition animations, and platform-aware placements to a SwiftUI view.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: swiftui-toolbars
Download link: https://github.com/AutisticAF/claude-code-apple-dev-plugin/archive/main.zip#swiftui-toolbars

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.