-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Text Field #203
Add Text Field #203
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, just a few minor details
Can you also show variant without label? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should have a default placeholder text such as 'Value' or smt.
Text in the input should be left alligned I feel. Just have some sort of padding on the left of it to offset by a certain amount. Figma is wrong in this case IMO. This is just for when its longer it looks a bit silly
When the parent element is small enough, the text field seems to not shrink down (some reason the minimum is 195) I did some investigating and have no fckin clue why this happens, but looks to me like width:100%; fixed it on the input class
Added the text field component matching the specification from the Figma design