彩色词块 <WordBlocks />
每个词一块粗边彩色积木,前面一个小图形(圆、星、方、花、三角、半圆),像贴纸一样略微歪斜地排开。
Template and style descriptions are currently available in Chinese only.
- Group
- 内容 · 4–10 个关键词
- Component
WordBlocks·#word-blocks
Good for
- 技能、主题、能力清单
- 每项一个词就够
Avoid when
- 每项要解释:用 IconGrid
- 有先后顺序:用 StepTrack
Content limits
| 1 | words 4–10 个,各 ≤ 6 字或 12 个字母 |
Fields
| Field | Type | |
|---|---|---|
kicker · required | string | 小节名,2–8 字 |
title · required | string | string[] | 标题;数组手动断行 |
lead | string | 一两句导语,≤ 60 字 |
source | string | 事实出处 |
words · required | { word, shape?, spot? }[] | 词块 |
Example
<WordBlocks kicker="能做什么" title="这些页面,都有现成的模板" words={[{ word: '封面' }, { word: '数据图表' }, …]} />