Skip to content
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

Icon and Icon button low versatility #498

Open
lianulloa opened this issue Dec 1, 2021 · 0 comments
Open

Icon and Icon button low versatility #498

lianulloa opened this issue Dec 1, 2021 · 0 comments

Comments

@lianulloa
Copy link
Contributor

lianulloa commented Dec 1, 2021

Is your feature request related to a problem? Please describe.
I have spent too much time trying to put a search icon as a left element of an input and a close icon as a right element of it.
Putting the close icon was easy, but them I can't find the right way to remove the border of c-icon-button and to make it really small, like 12px width and height.
About the search icon, it doesn't exist in the icons that come with chakra and I can't use fontawesome icons as suggested in docs because they don't have support for typescript

Describe the solution you'd like
I would like chakra to include more icons built-in or at least to point to an icon's library which support typescript(i.e. has module declaration)

Describe alternatives you've considered
I have used vue-material-design-icons and tried iconify/vue2 but it is far from being perfect

Context
All this inside a nuxt project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant