Skip to content

Add “Choose File” Option in Input Components #114

Description

@KrYash1511

Description

Currently, the input components do not include a file upload (choose file) option. Adding this feature will make the component library more complete and flexible for various use cases like forms or profile uploads.

Proposed Solution

Add a new input variant that supports type="file" with a “Choose File” button and proper styling consistent with other input components.

Expected Behavior

The new input component should allow users to select files from their system.

It should display the selected file name next to the button.

The design should match the existing input styles in the library.

Additional Context

This enhancement will improve the usability of the input components and broaden their real-world application.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions