Merged
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.
|
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.
🧩 PR Summary — Input & Label UI Components
This pull request introduces two new core UI components —
InputandLabel— along with rich example previews and full documentation integration. The update expands form-building capabilities, improves accessibility, and ensures the new components are fully discoverable within the documentation system.✨ New UI Components
InputInputcomponent (src/components/ui/input.tsx).LabelLabelcomponent (src/components/ui/label.tsx) built on Radix UI.Inputcomponent and other form elements.🧪 Example Previews
Inputexamples:src/components/docs/contents/input/input-examples.tsxLabelexamples:src/components/docs/contents/label/label-examples.tsxRelated diffs:
📚 Documentation Integration
inputDocandlabelDocin the documentation system:src/lib/docs/component-details.tsxRelated diffs:
Documentation registration:
Updated the components index (
src/lib/docs/components-index.ts) to include:InputandLabel📦 Dependency Updates
@radix-ui/react-labeltopackage.jsonto support the newLabelcomponent.✅ Summary
This PR significantly enhances form capabilities by introducing flexible, accessible
InputandLabelcomponents. With polished examples and full documentation integration, these additions strengthen the UI library’s usability, consistency, and developer experience.