Conversation
- Implemented Input component with support for different variants (default, floating, floatingInside, outlined). - Created Label component using Radix UI's LabelPrimitive for better accessibility and styling. - Updated package.json and package-lock.json to include new dependencies for Radix UI components.
- Introduced Input component with multiple variants (default, floating, floatingInside, outlined) and comprehensive documentation. - Added Label component for accessible form labeling, including various usage examples. - Updated component details and index to include new Input and Label components.
…nent Feat add label and input component
…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.
✨ Feat: add Global Component Search
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
lucasadsr
approved these changes
Jan 2, 2026
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.
🔍 PR Summary — Global Component Search & Docs Enhancements
This pull request introduces a global component search feature, expands Input and Label documentation examples, updates dependencies, and enhances the Header UI to make search easily accessible on both desktop and mobile.
🌐 Global Component Search Feature
GlobalSearchComponentGlobalSearchcomponent (src/components/global-search.tsx).Header Integration
GlobalSearchinto theHeader.Related diffs:
📘 Documentation Example Components
Input Examples
input-examples.tsxwith detailed demonstrations of:Label Examples
label-examples.tsxwith comprehensive usage scenarios:📦 Dependency Updates
@radix-ui/react-labeltopackage.json.✅ Summary
This PR significantly improves discoverability, documentation quality, and developer experience by: