-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
New prop of cards #83
Comments
An always shadowed card is not commonly used. Could you give some convincing use cases? |
Sorry, I didn't find a convincing use case, but from the perspective of design language, it's a good idea to write a piece of important content on a shadowed card when I want to improve the user's attention, which will make the website more hierarchical. |
I think it may not help user since their designer will propose various box-shadow, thus they have to write custom css instead of using a built in prop. |
What problem does the feature solve?
I think the card component can add a prop to control the shadow effect of the card, like:
This prop can replace the current
hoverable
prop.What does the proposed API look like?
'always' | 'hover' | 'never'
'never'
The text was updated successfully, but these errors were encountered: