Floating Labels for File Input
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 175k
- Forks
- 78.6k
- Avg merge
- 7h 19m
- Merged PRs (30d)
- 35
Description
Prerequisites
- I have searched for duplicate or closed feature requests
- I have read the contributing guidelines
Proposal
It would be a nice feature to have floating labels also for file inputs. At the moment, the label is placed over the button of the input field and overlaps parts of the button.
Motivation and context
With having floating labels also for file inputs, (nearly) all input fields of a web form could be labeled with this, which enables a consistent layout.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating Bootstrap’s existing floating-label styles and the file-input markup and styling. Reproduce the reported overlap, then compare the result with other floating-label controls. Done means file inputs support a consistent floating-label layout without the label covering the button.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html, scss
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100