toolbars
Modern SwiftUI toolbar patterns including customizable toolbars, search integration, transition effects, and platform-specific behavior. Use when implementing or customizing toolbars in SwiftUI.
npx skills add rshankras/claude-code-apple-skills --skill toolbars --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# SwiftUI Toolbars Modern toolbar patterns for SwiftUI apps. Covers customizable toolbars, enhanced search integration, new placements, transition effects, and platform-specific considerations. ## When This Skill Activates Use this skill when the user: - Wants to add or customize toolbars - Asks about customizable/user-configurable toolbars - Needs search field in toolbar with specific placement - Wants toolbar item transitions or animations - Asks about toolbar placements (bottomBar, largeSubtitle, etc.) - Needs platform-specific toolbar behavior (iOS vs macOS) - Wants to reposition system toolbar items (search, sidebar) ## Decision Tree ``` What toolbar feature do you need? | +- User-customizable toolbar (add/remove/reorder items) | +- Use .toolbar(id:) with ToolbarItem(id:) | +- Search field in toolbar | +- Minimize to button -> .searchToolbarBehavior(.minimize) | +- Reposition search -> DefaultToolbarItem(kind: .search, placement:) | +- Toolbar transition/animation | +- Zoom transition from toolbar item -> .matchedTransitionSource(id:in:) | +- Hide glass background -> .sharedBackgroundVisibility(.hidden) | +- Custom subtitle area content | +- Use ToolbarItem(placement: .largeSu
- When This Skill Activates
- Decision Tree
- API Availability
- Customizable Toolbars
- Toolbar Spacers
- Anti-Patterns
- Enhanced Search Integration
- Minimized Search
- Repositioning Search
- System-Defined Toolbar Items
- Large Subtitle Placement
- Transition Effects
- Matched Transition from Toolbar
- Glass Background Control
What does the toolbars skill do?
Modern SwiftUI toolbar patterns including customizable toolbars, search integration, transition effects, and platform-specific behavior. Use when implementing or customizing toolbars in SwiftUI.
How do I install it?
Run `npx skills add rshankras/claude-code-apple-skills --skill toolbars --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.