For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
60
Sponsor

Editorial Emphasis

Editorial two-font layout — normal Inter text with oversized italic Playfair Display for key words.

Customize
2
56
1

Installation

$ pnpm dlx shadcn@latest add @framecn/caption-editorial-emphasis

Usage

import { CaptionEditorialEmphasis } from "@/components/framecn/caption-editorial-emphasis";
<CaptionEditorialEmphasis emphasisWords={["single", "code."]} />

API Reference

CaptionEditorialEmphasis

PropTypeDefault
wordsCaptionWord[](demo words)
emphasisWordsstring[]["single", "code."]
colorstring"#f5f0d0"
fontSizenumber56
fontWeightnumber | string"400"
emphasisScalenumber2
speednumber1
fpsnumber30
durationInFramesnumber180
widthnumber1280
heightnumber720
classNamestring-

Notes