naive-ui/demo/documentation/components/card/enUS/size.demo.md
07akioni 487001d697 build: add changelog to site, refactor loader based on suffix
.demo.md for component demo
.demo-entry.md for demo entry
.md for common docs
2020-08-19 23:30:04 +08:00

379 B

Size

Card has small, medium, large, huge sizes.

<n-card title="Small Card" size="small">
  Card Content
</n-card>
<n-card title="Medium Card" size="medium">
  Card Content
</n-card>
<n-card title="Large Card" size="large">
  Card Content
</n-card>
<n-card title="Huge Card" size="huge">
  Card Content
</n-card>
.n-card {
  margin-bottom: 12px;
}