Comprehensive search and discovery components for finding communities, users, and content across your social platform
Key Benefit: Provide powerful search and discovery capabilities that help users find relevant communities, content, and connections through intuitive interfaces and smart categorization.
The Content Discovery & Search UIKit provides comprehensive components for building robust search and exploration experiences. From global search functionality to category-based browsing and notification management, these components enable users to discover and connect with the content and communities that matter to them.
Comprehensive search across communities and usersThe Global Search Page offers robust and intuitive search functionality, allowing users to search for and discover communities and users that match their interests and needs.
class CustomAmitySocialGlobalSearchPageBehavior: AmitySocialGlobalSearchPageBehavior { override init() { super.init() }}// Call this function to setup custom behaviour class in UIKitfunc setSocialGlobalSearchPageBehaviour() { let customBehavior = CustomAmitySocialGlobalSearchPageBehavior() AmityUIKit4Manager.behaviour.socialGlobalSearchPageBehavior = customBehavior}
Quick search component for any pageThe Top Search Bar provides seamless search functionality, located at the top of the page for easy access with advanced filtering capabilities.
When users click on search results, they are seamlessly navigated to the appropriate detail pages.
Copy
Ask AI
class CustomAmityCommunitySearchResultComponentBehavior: AmityCommunitySearchResultComponentBehavior { override init() { super.init() } override func goToCommunityProfilePage(context: AmityCommunitySearchResultComponentBehavior.Context) { // Custom implementation for navigatin to Community Profile Page }}// Call this function to setup custom behaviour class in UIKitfunc setCommunitySearchResultComponentBehaviour() { let customBehavior = CustomAmityCommunitySearchResultComponentBehavior() AmityUIKit4Manager.behaviour.communitySearchResultComponentBehavior = customBehavior}
Personal community managementSpecialized search functionality for users to find and manage their own communities with enhanced filtering options.
class CustomAmityMyCommunitiesSearchPageBehavior: AmityMyCommunitiesSearchPageBehavior { override init() { super.init() }}// Call this function to setup custom behaviour class in UIKitfunc setMyCommunitiesSearchPageBehaviour() { let customBehavior = AmityMyCommunitiesSearchPageBehavior() AmityUIKit4Manager.behaviour.myCommunitiesSearchPageBehavior = customBehavior}
Organized content explorationComponents for category-based community discovery and organized content browsing.
let page = AmityCommunitiesByCategoryPage(categoryId: "<category-id>")let viewController = AmitySwiftUIHostingController(rootView: page)
Centralized notification managementThe Notification Tray enhances user engagement by providing a comprehensive history of notifications with automatic grouping and organization.
The Notification Tray automatically creates and groups notification records for each user, ensuring they stay informed about relevant activities within their communities and encouraging deeper platform engagement.
Designing comprehensive search experiencesPlan your search implementation by combining global search with specialized components like top search bars and category browsing. Consider user search patterns and how users move from general exploration to specific discovery.
Content Discovery Flow
Optimizing discovery pathwaysDesign clear pathways between different discovery methods (search, categories, recommendations). Ensure users can easily navigate between global search, category browsing, and their personal communities.
Notification Strategy
Managing user engagementImplement thoughtful notification policies that keep users engaged without overwhelming them. Use notification grouping and smart categorization to provide relevant information at the right time.
Building comprehensive search featuresStart with basic global search functionality, then add specialized search components for communities and users. Implement category-based discovery and notification management as your platform grows and user needs become more sophisticated.
User Experience Flow
Designing intuitive discovery pathsPlan search and discovery flows that guide users from general exploration to specific content discovery. Design clear navigation patterns between different search contexts and ensure smooth transitions between discovery and engagement.
Performance Considerations
Optimizing search experiencesImplement efficient search result caching, progressive loading for large result sets, and appropriate debouncing for real-time search suggestions. Consider indexing strategies and result relevance algorithms for optimal user experience.
Creating effective search interfacesDesign clear search flows with intuitive filtering and sorting options. Provide helpful empty states, search suggestions, and clear result categorization. Ensure search interfaces are accessible and provide feedback for user actions.
Content Discovery Strategy
Facilitating content explorationBalance algorithmic recommendations with user-controlled discovery. Provide multiple pathways for content discovery (search, categories, recommendations) and help users understand why certain content is being suggested.
Notification Management
Respecting user attentionImplement thoughtful notification policies that respect user preferences and attention. Provide granular notification controls, smart batching for related notifications, and clear visual hierarchy for different notification types.
Implementation Strategy: Begin with AmityGlobalSearchPage for comprehensive search functionality, then add specialized components like AmityTopSearchBar and category browsing based on your users’ discovery patterns and engagement metrics.