Back to skills
Search & ResearchMarkdown

searchbar

Expert guidance on SearchBar, a customizable SwiftUI search component.

Installs

1.3K

Stars

1

Forks

0

Updated

Feb 26, 2026

Install command

clawhub install szpakkamil/searchbar

What it does

SearchBar is a SwiftUI library that provides a unified search component across iOS, iPadOS, macOS, and visionOS. It wraps UISearchBar on iOS and visionOS while using a native SwiftUI implementation on macOS, exposing a consistent modifier-based API for both. Advanced features like search tokens and dynamic suggestions require iOS 16+ or visionOS 1.0+.

Why it's useful

Using UISearchBar directly requires UIKit bridging on iOS and has no macOS equivalent, while this library exposes one SwiftUI API that works consistently across all Apple platforms.

Use cases

Adding a styled search bar to a SwiftUI app without UIKit bridging
Filtering content with tappable search tokens on iOS 16+
Showing contextual suggestions as users type in a search field
Applying glass or capsule visual styles to a search bar
Shipping the same search UI across iPhone, iPad, Mac, and Vision Pro

Community reviews

Comments from operators using this skill

0 comments

Log in to leave a review, rate the skill, and help the best community tools rise to the top.

Related skills

More in Search & Research

Browse all skills →