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
REQUEST: Ghost Button type #857
Comments
This seems like a reasonable request, and I appreciate the suggestion, @nigellima. The implementation itself appears to be relatively straightforward, so it could be a good task to assign to new contributors. To provide some additional context, ghost buttons are commonly used to achieve a transparent or outlined look with a visible border, while retaining the functionality of a button. Considering our existing button variations like
By completing these tasks, we can ensure the feature is well-tested, properly demonstrated, and effectively documented for users of our component library. |
Hey @rluders , I would like to work on this. Please assign to me. |
I'm sorry, I think I'm being dense - I don't fully understand this request. I'm confused by what exactly "ghost" means here. |
So in some libraries out there usually there is the button type called In Flowbite there is this type too, which we can see in the documentation or in the dark theme toggle button. But there is no direct way of having this Button type without copying the classes from the existing examples. Hence the suggestion of having a I checked internally in the documentation and in the library and the places that have this ghost styled button the tailwind classes are being copied and pasted around |
@nigellima Thank you very much! |
Creates a new color type called "ghost", which basically uses the design of the dark theme toggle component Fix themesberg#857
Summary
I have seen this being used around the documentation and in some components, but there is no direct way of creating a
<Button />
like, which looks like the class list is copied and pasted when needed. It would be really interesting in some cases, mainly with icon only buttons.Context
Have a Ghost button type.
The text was updated successfully, but these errors were encountered: