Comprehensive guide to new SwiftUI features in iOS 26, iPadOS 26, macOS Tahoe, watchOS 26, and visionOS 26. From the Liquid Glass design system to rich text editing, these enhancements make SwiftUI more powerful across all Apple platforms.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionaxiom-swiftui-26-refExecute the skills CLI command in your project's root directory to begin installation:
Fetches axiom-swiftui-26-ref from charleswiltgen/axiom and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate axiom-swiftui-26-ref. Access via /axiom-swiftui-26-ref in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
767
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
767
stars
Comprehensive guide to new SwiftUI features in iOS 26, iPadOS 26, macOS Tahoe, watchOS 26, and visionOS 26. From the Liquid Glass design system to rich text editing, these enhancements make SwiftUI more powerful across all Apple platforms.
Core principle From low level performance improvements all the way up through the buttons in your user interface, there are some major improvements across the system.
enabledBoundsFor comprehensive coverage, see axiom-liquid-glass (design principles, variants, review pressure) and axiom-liquid-glass-ref (app-wide adoption guide). This section covers WWDC 256-specific APIs only.
Recompile with iOS 26 SDK — navigation containers, tab bars, toolbars, toggles, segmented pickers, and sliders automatically adopt the new design. Bordered buttons default to capsule shape. Sheets get Liquid Glass background (remove any presentationBackground customizations).
.toolbar {
ToolbarItem(placement: .bottomBar) { Button("Archive", systemImage: "archivebox") { } }
ToolbarSpacer(.flexible, placement: .bottomBar) // Push items apart
ToolbarItem(placement: .bottomBar) { Button("Compose", systemImage: "square.and.pencil") { } }
}
// .fixed separates groups visually; .flexible pushes apart (like Spacer in HStack)
Items in a ToolbarItemGroup share a single glass background "pill". ToolbarItemPlacement controls visual appearance: confirmationAction → glassProminent styling, cancellationAction → standard glass. Use .sharedBackgroundVisibility(.hidden) to exclude items (e.g., avatars) from group background.
Attach .toolbar {} to individual views inside NavigationStack (not to NavigationStack itself). iOS 26 morphs between per-view toolbars during push/pop. Use toolbar(id:) with matching ToolbarItem(id:) across screens for items that should stay stable (no bounce):
// MailboxList
.toolbar(id: "main") {
ToolbarItem(id: "filter", placement: .bottomBar) { Button("Filter") { } }
ToolbarSpacer(.flexible, placement: .bottomBar)
ToolbarItem(id: "compose", placement: .bottomBar) { Button("New Message") { } }
}
// MessageList — "filter" absent (animates out), "compose" stays stable
.toolbar(id: "main") {
ToolbarSpacer(.flexible, placement: .bottomBar)
ToolbarItem(id: "compose", placement: .bottomBar) { Button("New Message") { } }
}
#1 gotcha: Toolbar on NavigationStack = nothing to morph between.
Reposition system-provided items (like search) within your toolbar layout:
DefaultToolbarItem(kind: .search, placement: .bottomBar)
// Replaces system's default placement of matching kind
Use in collapsed NavigationSplitView sidebar to specify which column shows search on iPhone. Wrap in if #available(iOS 26.0, *) for backward compatibility.
toolbar(id:) enables user customization (rearrange, show/hide). Only .secondaryAction items support customization on iPadOS. Use showsByDefault: false for optional items. Add ToolbarCommands() for macOS menu item.
.navigationSubtitle("3 unread") — Secondary line below title.badge(3) on toolbar items — Notification countsFoundational search APIs: See axiom-swiftui-search-ref. This section covers iOS 26 refinements only.
NavigationSplitView {
List { }.searchable(text: $searchText)
}
// Bottom-aligned on iPhone, top trailing on iPad (automatic)
// Use placement: .sidebar to restore sidebar-embedded search on iPad
searchToolbarBehavior(.minimize) — Compact search that expands on tapTab(role: .search) — Dedicated search tab; search field replaces tab bar. See swiftui-nav-ref Section 5.7Button("To Top", systemImage: "chevron.up") { scrollToTop() }
.padding()
.glassEffect() // Add .interactive for custom controls on iOS
GlassEffectContainer — Required when multiple glass elements are nearby (glass can't sample glass)glassEffectID(_:in:) — Fluid morphing transitions between glass elements using a namespace.matchedTransitionSource + .navigationTransition(.zoom(...)) to morph sheets from buttons.buttonBorderShape(.roundedRectangle)).controlSize(.extraLarge) — New extra-large button size.controlSize(.small) on containers — Preserve pre-iOS 26 densityGlassButtonStyle(.clear/.glass/.tint) — Glass button variants (iOS 26.1+).buttonSizing(.fit/.stretch/.flexible) — Control button layout behaviorButton(role: .close) / Button(role: .confirm) — System-styled close/confirm.clipShape(.rect(cornerRadius: 12, style: .containerConcentric)) — Corner concentricityiOS 26 adds custom tick marks, constrained selection ranges, current value labels, and thumb visibility control.
Core types: SliderTick<V>, SliderTickContentForEach, SliderTickBuilder
// Static ticks with labels
Slider(value: $value, in: 0...10) {
Text("Rating")
} ticks: {
SliderTick(0) { Text("Min") }
SliderTick(5) { Text("Mid") }
SliderTick(10) { Text("Max") }
}
// Dynamic ticks from collection
SliderTickContentForEach(stops, id: \.self) { value in
SliderTick(value) { Text("\(Int(value))°").font(.caption2) }
}
// Step-based ticks (called for each step value)
Slider(value: $volume, in: 0...10, step: 2, label: { Text("Volume") }, tick: { value in
SliderTick(value) { Text("\(Int(value))") }
})
API constraint: SliderTickContentForEach requires Data.Element to match SliderTick<V> value type. For custom structs, extract numeric values: chapters.map(\.time) then look up labels via chapters.first(where: { $0.time == time }).
Slider(
value: $rating, in: 0...100,
neutralValue: 50, // Starting point / center value
enabledBounds: 20...80, // Restrict selectable range
label: { Text("Rating") },
currentValueLabel: Implementation Guide
Prerequisites
- ›Claude Desktop or compatible AI client with skill support
- ›Clear understanding of task or problem to solve
- ›Willingness to iterate and refine outputs
Time Estimate
15-45 minutes depending on use case complexity
Steps
- 1Install skill using provided installation command
- 2Test with simple use case relevant to your work
- 3Evaluate output quality and relevance
- 4Iterate on prompts to improve results
- 5Integrate into regular workflow if valuable
Common Pitfalls
- ⚠Expecting perfect results without iteration
- ⚠Not providing enough context in prompts
- ⚠Using skill for tasks outside its intended scope
- ⚠Accepting outputs without review and validation
Best Practices
✓ Do
- +Start with clear, specific prompts
- +Provide relevant context and constraints
- +Review and refine all outputs before using
- +Iterate to improve output quality
- +Document successful prompt patterns
✗ Don't
- −Don't use without understanding skill limitations
- −Don't skip validation of outputs
- −Don't share sensitive information in prompts
- −Don't expect skill to replace human judgment
💡 Pro Tips
- ★Be specific about desired format and style
- ★Ask for multiple options to choose from
- ★Request explanations to understand reasoning
- ★Combine AI efficiency with human expertise
When to Use This
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
Learning Path
- 1Familiarize yourself with skill capabilities and limitations
- 2Start with low-risk, non-critical tasks
- 3Progress to more complex and valuable use cases
- 4Build expertise through regular use and experimentation
Related Skills
frontend-design
633anthropics/claude-code
Frontendsame categoryui-animation
230mblode/agent-skills
Frontendsame categorypremium-frontend-ui
228github/awesome-copilot
Frontendsame categoryhigh-end-visual-design
183leonxlnx/taste-skill
Frontendsame categoryantigravity-design-expert
182sickn33/antigravity-awesome-skills
Frontendsame categoryinterior-design-expert
133erichowens/some_claude_skills
Frontendsame categoryReviews
4.6★★★★★56 reviews- GGanesh Mohane★★★★★Dec 24, 2024
axiom-swiftui-26-ref is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- AAlexander Perez★★★★★Dec 16, 2024
I recommend axiom-swiftui-26-ref for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- AAnaya Anderson★★★★★Dec 16, 2024
Useful defaults in axiom-swiftui-26-ref — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- YYusuf Kapoor★★★★★Dec 12, 2024
axiom-swiftui-26-ref reduced setup friction for our internal harness; good balance of opinion and flexibility.
- SSakshi Patil★★★★★Nov 15, 2024
axiom-swiftui-26-ref fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- YYash Thakker★★★★★Nov 7, 2024
Keeps context tight: axiom-swiftui-26-ref is the kind of skill you can hand to a new teammate without a long onboarding doc.
- LLayla Harris★★★★★Nov 7, 2024
We added axiom-swiftui-26-ref from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- YYusuf Sharma★★★★★Nov 3, 2024
Registry listing for axiom-swiftui-26-ref matched our evaluation — installs cleanly and behaves as described in the markdown.
- DDhruvi Jain★★★★★Oct 26, 2024
I recommend axiom-swiftui-26-ref for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- HHiroshi Jackson★★★★★Oct 26, 2024
axiom-swiftui-26-ref reduced setup friction for our internal harness; good balance of opinion and flexibility.
showing 1-10 of 56
1 / 6Discussion
Comments — not star reviews- No comments yet — start the thread.