通用卡片容器。将信息聚合在卡片容器中展示。
# 何时使用
最基础的卡片容器,可承载文字、列表、图片、段落,常用于后台概览页面。
import { HiCard } from 'hi-kits/card'
1
# 简单卡片
卡片可以只有内容区域。
Card content
Card content
Copy
# 带有标题的卡片
卡片头是用来显示卡的标题。
Card content
Card content
Copy
# 带有尾的卡片
页脚是一些附加信息或自定义操作。
Card content
Card content
Card content
Card content
Card content
Copy
# 基础卡片
包含标题、内容、操作区域。
Copy
# 圆角卡片
Copy
# 无边框
在灰色背景上使用无边框的卡片。
Card content
Card content
Copy
# 参数说明
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
noBorder | 是否移除边框 | boolean | - | false |