✨ Feat: add Global Component Search#86
Merged
MarcosvBueno merged 3 commits intodevelopfrom Jan 2, 2026
Merged
Conversation
…onality - Introduced a new GlobalSearch component that allows users to search for components by name, description, category, or tags. - Implemented keyboard shortcut (Cmd/Ctrl + K) to toggle the search dialog. - Organized search results into categories for better usability.
- Replaced the inline grouping logic with useMemo to improve performance by memoizing the grouped components based on filteredComponents. - Added useMemo import to enhance the component's efficiency during re-renders.
- Integrated Search button in the Header for quick access to the GlobalSearch component. - Updated mobile menu to include a Search option that toggles the search dialog. - Introduced state management for search visibility within the Header component.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔍 Global Component Search
This pull request introduces a global component search feature, allowing users to quickly find and navigate to component documentation from anywhere in the application. The update improves discoverability and usability by providing a fast, keyboard-accessible search experience across both desktop and mobile layouts.
✨ New Global Search Feature
GlobalSearchcomponent that displays a searchable, grouped list of components.(
src/components/global-search.tsx)🧭 Header Integration & UI Updates
GlobalSearchcomponent and Search icon into the header.(
src/components/header.tsx)GlobalSearchcomponent within the header and controlled its visibility using local state.✅ Result: a faster, more intuitive way to discover components, with consistent access across devices and support for power users via keyboard shortcuts.