Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant