A card can be used to display content related to a single subject. The content can consist of multiple elements of varying types and sizes.

Cards are surfaces that display content and actions on a single topic. They should be easy to scan for relevant and actionable information. Elements, like text and images, should be placed on them in a way that clearly indicates hierarchy.

Sen OS uses max two levels of the card depending on inside contents.
They have the same color and use elevation to distinguish each other. The default elevation value we use for two levels of the card is 4px.
Some system elements will be set as level 1 card:
  • Modal
  • Drawer
  • Popconfirm

// Some code
Last modified 10mo ago
Copy link
On this page
Sample code