-
Notifications
You must be signed in to change notification settings - Fork 118
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
Dropdown Button with Icon #905
Comments
Great work! Icon Animations: Adding a subtle animation to the icon when the dropdown opens or closes can enhance the user experience. Additionally, for the Icon Positioning section, incorporating a feature that allows users to adjust the icon size for the active state would provide flexibility. |
Adding Icon Attribute to Dropdown Button ComponentStatusAccepted ContextThe dropdown button component needs to support an icon on its left side, which can be customized from the icon library. This enhancement will provide more flexibility in the visual representation of dropdown buttons and align with common UI patterns. DecisionWe will add a new
Implementation Detailsinterface DropdownButtonProps {
// ... existing props
icon?: string; // Optional icon name from the icon library
} ConsequencesPositive
Negative
Examples<bl-dropdown icon="info">Dropdown with Info Icon</bl-dropdown>
<bl-dropdown icon="heart">Dropdown with Heart Icon</bl-dropdown>
<bl-dropdown icon="user">Dropdown with User Icon</bl-dropdown> |
🎉 This issue has been resolved in version 3.3.0-beta.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
We decided to add icon attribute to the Dropdown Button component according to needs.
Here you can see the design documentation.
The text was updated successfully, but these errors were encountered: