You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We created a whole set of states (hover, active...) for buttons in the Bitcoin Core App (see in Figma here). Do we want to port those over to the UI Kit?
If so, is it maybe time to split the Button into several sub-components to make them easier to manage. We have lots of configurations (3 sizes, 3 styles, 5 states, 4 content variations = 180). There is complexity, the question is just where do we put it.
One massive Button component with lots of properties (as we have now)?
Multiple components (IconButton, TextButton, TextIconButton, IconTextButton) that are almost interchangeable?
My initial hunch is to keep components simple (fewer properties) so there's less hidden (less guessing) and less explanation (spec sheets) needed. But let's discuss.
A follow-up discussion would be to document the standard treatments for focus, hover... and which other components would need updating.
The text was updated successfully, but these errors were encountered:
We solved this in the Bitcoin Core App and can just port it from there. Just need to be very careful not to break the 200-300 screen designs when changing over the button.
We created a whole set of states (hover, active...) for buttons in the Bitcoin Core App (see in Figma here). Do we want to port those over to the UI Kit?
If so, is it maybe time to split the Button into several sub-components to make them easier to manage. We have lots of configurations (3 sizes, 3 styles, 5 states, 4 content variations = 180). There is complexity, the question is just where do we put it.
My initial hunch is to keep components simple (fewer properties) so there's less hidden (less guessing) and less explanation (spec sheets) needed. But let's discuss.
A follow-up discussion would be to document the standard treatments for focus, hover... and which other components would need updating.
The text was updated successfully, but these errors were encountered: