Add left icon on Input
See original GitHub issueIssue type
- bug report
- feature request
Issue description
Current behavior:
icon
is always rendered on the right side ofInput
Expected behavior:
- There’s a way for me to render
icon
on the left side ofInput
Related code:
<Input leftIcon={this.renderLeftIcon} />
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:11
Top Results From Across the Web
Put icon inside input element in a form - html - Stack Overflow
Create the container surrounding the input and icon. · Set the container position as relative · Set the icon as position absolute. ·...
Read more >CSS to put icon inside an input element in a form
To add icon inside the input element the <i> tag and <span> tag are used widely to add icons on the webpages. To...
Read more >How to add icons inside input elements in HTML - Educative.io
In HTML, icons are added with the <i> tag. For it to be added inside the input elements, it must be added between...
Read more >How To Create a Form with Icons - W3Schools
How To Create an Icon Form. Step 1) Add HTML: Use a <form> element to process the input. You can learn more about...
Read more >Adding Icons inside and outside of input text in Forms
Icon appears inside input text in form · Icon appears to be outside of the input text.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jeloagnasin Alternatively you can do like it. I Hope it will help you.
I’ll try to make a PR for this around Dec 22/23.