← All templates

信封 <Envelope />

左边标题和导语,右边一个用 CSS 画的信封:第一步打开封口,第二步把信纸抽出来。可选纸纹贴图和邮票。

Template and style descriptions are currently available in Chinese only.

See it in the demo deck →

Group
揭晓 · 一封信、一段公告
Component
Envelope · #envelope
Interaction
build: reveal 时第 1 步开封口,第 2 步抽出信纸

Good for

  • 原文引用一封信、通知、公告
  • 想营造“拆开来看”的揭晓感

Avoid when

  • 信的内容超过 72 字:用 QuoteHero
  • 内容是虚构的却没标明:必须在 sign 或 source 里写“示意”

Content limits

1title ≤ 3 行 × 8 字;lead ≤ 60 字
2greeting ≤ 12 字;body ≤ 72 字;sign ≤ 14 字
3stamp ≤ 4 个字符
4texture 只用 decor- 纸纹

Fields

FieldType
kicker · requiredstring小节名
title · requiredstring | string[]标题
leadstring导语
greeting · requiredstring信的称呼
body · requiredstring信的正文
sign · requiredstring落款
stampstring邮票上的字
texturestringimport 进来的 decor- 纸纹
sourcestring事实出处

Example

<Envelope kicker="一封信" title={['一枚邮票,', '让信变便宜']} greeting="致每一位寄信人:" body="…" sign="示意信件" stamp="1d" texture={paper} source="…" />