Sentre
Search…
Card
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.

Usage

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.

Guidelines

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

Examples

Sample code

1
// Some code
Copied!
Last modified 6mo ago