SuperAPI AI Directory

info-funnel

General & other

View repository

Updated 10-15 16:44

About this skill

[Template: Funnel Infographic]

[Intent] Make the "from large to small" conversion / screening / loss process clear at a glance.Wide top (input) → narrow bottom (result), each stage has a clear "how much remains" and "how much is lost". Typical scenarios: marketing funnel (impressions→clicks→signups→payment), recruiting funnel (applications→interviews→offers→onboarding), decision funnel (candidates→screening→finalizing).

[Data shape]

Input should be an ordered 3-6 stages + the absolute value of each stage (people / items / amount). Optional name, description, unit for each stage. If the user only provides percentages, default the top = 100% / 10000 people.

阶段 1: 100,000 名访客
阶段 2:  18,500 名注册(18.5%)
阶段 3:   6,200 名启动试用(33.5%)
阶段 4:   1,450 名转付费(23.4%)
阶段 5:     920 名 30 天留存(63.4%)

[Layout rules]

Area Content Proportion
Hero top(about 15%) Title (≤ 20 characters, 22-32px CJK) + subtitle / time window (gray 14-16px) Top 15%
Funnel body(about 65%) 3-6 trapezoid stages, each segment contains: large number on the left (48-72px tabular-nums) + stage name on the right (18-22px bold) + two lines of description on the right (13-15px gray) + small arrow between segments marking the conversion rate Middle 65%
Bottom stat strip(about 20%) Cumulative conversion rate (largest font size 80-120px) + 1-2 sentences of insight text (the stage with the most severe loss / key tip) Bottom 20%

[Funnel implementation]

Use CSS clip-path: polygon() to cut trapezoids, not SVG:

  • Each stage is a <div>, set a fixed height (120-200px) + different clip-path
  • The left and right shrink amount of clip-path = 50% × (1 - bottom_width_ratio), each segment cumulatively narrower than the previous one
  • Use the same hue with different lightness for each segment's background color, most saturated at the top, darkest at the bottom (accent → ink)
  • There is a 4-8px gap between stages, making the "flow" feel more obvious
  • Use numbers font-variant-numeric: tabular-nums, letter-spacing -0.02em

[Theme colors — choose one of three, no mixing allowed]

Theme Applicable Top Bottom ink paper
klein-blue(default) Business / SaaS / AI products #4F7BD8 #002FA7 #0A0A0A #FAFAF8
sunset-amber Retail / consumer / food and beverage #FBB040 #C73E1D #0A0A0A #FFF8EC
deep-forest Recruiting / education / health #56A06E #1F4D2E #0A0A0A #F4F0E6

Text color:

  • Numbers and names inside the funnel are always white (#FFFFFF)
  • Top / subtitle / bottom strip use ink (#0A0A0A)
  • Gray auxiliary text:rgba(10,10,10,0.55)

[Font stack]

"PingFang SC", "Heiti SC", "Helvetica Neue", "Arial", -apple-system, sans-serif

Numbers (tabular-nums required):

"SF Mono", "JetBrains Mono", "Menlo", "Roboto Mono", monospace

Do not use Inter — it feels too much like an "AI default". Prefer PingFang SC (CJK) + Helvetica Neue (Latin).

[Font sizes / spacing locked]

  • Main title:clamp(28px, 2.8vw, 36px) font-weight 800 letter-spacing -0.02em
  • Subtitle:14-16px font-weight 500 ink/0.6
  • Large number within segment:clamp(48px, 5.5vw, 72px) tabular-nums font-weight 900 white
  • Stage name within segment:20-22px font-weight 700 white
  • Description within segment:13-15px font-weight 400 white/0.85
  • Conversion rate badge between segments:13px font-weight 700, paper background with ink text, border radius 6px, padding 2px 8px
  • Bottom cumulative large number:clamp(80px, 12vw, 120px) font-weight 900 ink letter-spacing -0.04em
  • Bottom insight:16-18px font-weight 500 ink/0.75 max-width 80%
  • Overall padding:6vmin 7vmin
  • Gap between sections:6px
  • Gap between Hero and funnel:32-48px
  • Gap between funnel and strip:48-64px

[Output Contract]

OutputSingle-file HTML, inline CSS, No JS(static image).No external CDN / icon library / font files。

  • No icons / no emoji decoration (the funnel itself is the graphic)
  • No charts (pie chart / bar chart) — one funnel per article
  • No company logo
  • background is paper, the whole graphic fills the viewport
  • Use aspect-ratio: 9 / 16 to lock the container, fill the content with flex column

[Data Specification]

  • Top number = 100% baseline
  • Conversion rate per stage = 当前段 / 上一段
  • Cumulative conversion rate = 末段 / 顶段
  • Use half-width commas as thousands separators (10,000 not 10000)
  • Percentages keep 1 decimal place (18.5% not 18.50% and not 19%)
  • Units (people / items / $) placed after the number, 13-15px gray
  • Writing absolute numbers is more convincing than percentages ("81,500 fewer people" hits harder than "81.5% missed")

[Insight Text (bottom strip)]

Write 1-2 sentences, total length ≤ 60 characters:

  • First sentence: cumulative number + assessment ("Out of 100,000 visitors, only 920 truly stayed")
  • Second sentence (optional): point out the biggest leakage stage ("The biggest loss is in 'visitor→signup', 81.5% left at the first step")

No AI copywriting tone ("as can be seen from this chart", "it can be seen that", "in summary"). State the facts directly.

[Staged Visual Width Calculation]

With 5 stages, top_width=100%, bottom_width=30% (funnel taper). Each stage's bottom_width is narrower than the previous stage by (100-30)/5 = 14%. For example:

  • Stage 1: top 100% → bottom 86%
  • Stage 2: top 86% → bottom 72%
  • Stage 3: top 72% → bottom 58%
  • Stage 4: top 58% → bottom 44%
  • Stage 5: top 44% → bottom 30%

clip-path formula (each stage is an independent div):

clip-path: polygon(
  {(100-top)/2}% 0%,
  {100-(100-top)/2}% 0%,
  {100-(100-bottom)/2}% 100%,
  {(100-bottom)/2}% 100%
);

With 3-4 stages the taper can be relaxed to 40-45%, with 6 stages compress to 22-25%。

[Restrictions]

  • Do not draw icons / illustrations inside funnel stages
  • Do not put the number on the right and the name on the left of a stage (numbers must be left / names right, forming visual gravity)
  • Do not tie stage height to values (this is a funnel not an H-bar chart, information density is conveyed by width shrinkage)
  • Do not let the funnel float centered — it should fill the middle section, top flush with Hero, bottom flush with strip
  • Do not exceed 6 stages (information overload, split into two graphics)
  • No 3D / shadows / glow (platine clean layout)
  • No Inter font (see above)
  • Do not write meta text like "the following is a funnel", "as shown below"

[Acknowledgments] The design of this skill references baoyu-skills · baoyu-infographic 's funnel layout specification; visual completion + HTML implementation independently written by html-anything.