← All templates

发光大数字 <GlowMetric />

左边标题和导语,右边一个衬线斜体的超大数字浮在暖色光晕上,下方细线分隔的一行三个辅助数字。暖夜风格的招牌数据页。

Template and style descriptions are currently available in Chinese only.

Group
数据 · 一个核心数字加三个旁证
Component
GlowMetric · #glow-metric

Good for

  • 有一个最想让人记住的数字
  • 还有 3 个支撑它的数字

Avoid when

  • 数字要对比:用 CountCompare
  • 没有旁证:用 BigStat

Content limits

1title ≤ 2 行 × 8 字
2lead ≤ 50 字
3figure ≤ 5 个字符,unit ≤ 4 个字符
4caption ≤ 30 字
5subs 正好 3 个:value ≤ 8 个字符,label ≤ 16 字

Fields

FieldType
kicker · requiredstring小节名,2–8 字
title · requiredstring | string[]标题;数组手动断行
leadstring一两句导语,≤ 60 字
sourcestring事实出处
figure · requiredstring大数字
unitstring单位
caption · requiredstring数字在数什么
subs · required{ value, label }[]底部三个辅助数字

Example

<GlowMetric kicker="交付物" title={['整份演示,', '只有一个文件']} figure="6.1" unit="MB" caption="单文件构建的大小" subs={[{ value: '3.6 MB', label: '其中是内嵌字体' }, …]} />