SymbolPicker
Expert guidance on SymbolPicker, a native SwiftUI SF Symbol picker. Use when developers mention: (1) SymbolPicker, (2) selecting SF Symbols, (3) picking symbols with colors, (4) customizing symbol picker appearance, (5) cross-platform symbol selection (iOS, macOS, visionOS), (6) specific modifiers like .symbolPickerSymbolsStyle or .symbolPickerDismiss.
Why use this skill?
Learn how to integrate the SymbolPicker skill to easily add native, customizable SF Symbol selection to your SwiftUI iOS, macOS, and visionOS applications.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/szpakkamil/symbolpickerWhat This Skill Does
The SymbolPicker skill is a powerful developer utility designed to streamline the integration of native SF Symbol selection within SwiftUI applications. It bridges the gap between Apple's native design language and custom developer requirements, providing a seamless, platform-agnostic UI component. By utilizing the SymbolPicker skill, developers can offer their users a highly customizable, accessible, and intuitive way to select symbols directly within their apps across iOS, iPadOS, macOS, and visionOS. It eliminates the need for boilerplate code by handling the complexities of symbol presentation, filtering, and state management, ensuring the UI remains consistent with Apple’s design guidelines while offering flexibility in color handling and symbol styling.
Installation
To integrate this skill into your OpenClaw environment, use the following terminal command:
clawhub install openclaw/skills/skills/szpakkamil/symbolpicker
Ensure your project meets the minimum requirements: Swift 5.9+, Xcode 15.0+, and the minimum deployment targets of iOS 14.0, iPadOS 14.0, macOS 11.0, or visionOS 1.0. Once installed, the skill allows you to inject the .symbolPicker modifier into any view that supports standard SwiftUI button interactions.
Use Cases
This skill is perfect for applications requiring user-generated icons or category labeling, such as custom note-taking apps, activity trackers, or project management tools. It excels in scenarios where developers need to provide high-quality iconography without sacrificing the look and feel of a native Apple experience. Additionally, it is highly recommended when specific styling preferences are required, such as enforcing filled versus outlined symbols or restricting color palettes using the SymbolColor model.
Example Prompts
- "How do I set up a basic SymbolPicker in my SwiftUI app to change a user's avatar icon?"
- "I need to force the SymbolPicker to only show filled icons and automatically dismiss the sheet after a selection is made."
- "Can you show me how to bind the selected symbol and its color to my view model when using the SymbolPicker?"
Tips & Limitations
- Platform Consistency: Remember that the UI adapts to the hosting platform automatically. While it renders as a sheet on iOS, expect a popover on macOS and visionOS; adjust your layout anchoring accordingly.
- Accessibility: The picker is built with accessibility in mind, supporting VoiceOver and Dynamic Type. Ensure your app's surrounding UI also adheres to these standards to maintain a consistent user experience.
- Color Bindings: Be precise when selecting your color binding type; mixing raw RGBA values with
Colorobjects can lead to inconsistent rendering if not handled through theSymbolColorwrapper provided by the skill. - Dismissal Behavior: Use the
.symbolPickerDismissmodifier to explicitly define user flow. Defaulting toonSymbolSelectoften provides a more professional feel than requiring manual interaction.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-szpakkamil-symbolpicker": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Related Skills
PagerKit
Expert guidance on PagerKit, a SwiftUI library for advanced, customizable page-based navigation. Use when developers mention: (1) PagerKit, PKPagesView, PKPage, (2) custom page controls, indicators, or paging behavior, (3) cross-platform SwiftUI paging, (4) dynamic page generation, (5) integrating page views into custom layouts, (6) specific PagerKit modifiers or enums, (7) page view controller options, (8) event handling for page changes.
ColorKit
Expert guidance on ColorKit, a Swift library for advanced color manipulation, conversion, and accessibility management. Use when developers mention: (1) CKColor, CKBlendMode, CKAPCA, (2) color space conversion (OKLAB, Display P3, sRGB), (3) WCAG or APCA contrast checks, (4) hex color initialization, (5) dynamic/adaptive colors for Dark Mode, (6) perceptual gamut mapping.
SearchBar
Expert guidance on SearchBar, a customizable SwiftUI search component. Use when developers mention: (1) SearchBar, (2) custom search bars in SwiftUI, (3) search tokens or suggestions, (4) styling search bars (glass, capsule), (5) cross-platform search (iOS, macOS, visionOS), (6) specific SearchBar modifiers like .searchBarStyle or .searchBarSuggestions.