Navbar Meridian — verre, solide et minimale
Dark glow premium inspire de Linear, aurore violette diffuse derriere un verre depoli epais
Copie le prompt dans le presse-papier, sans quitter la page.
CONTEXT & GOAL
Build the pricing section for Relay, a webhook infrastructure API used by backend developers to receive, retry, and replay webhooks reliably. Audience: engineers evaluating Relay against building it themselves. Three tiers — Starter, Team, Enterprise — with a monthly/annual toggle saving 20%. The signature idea: each pricing card is styled like a terminal window, and when the toggle flips, the price doesn't just swap — it deletes and retypes character by character like a shell command, cursor blinking throughout.
ART DIRECTION
Developer-tool dark mode, closer to a code editor than a marketing page: near-black background, JetBrains Mono for every number, thin 1px borders instead of shadows, a single acid-green accent used sparingly so it reads as a terminal prompt color, not decoration. This avoids the generic "three white cards with a shadow" pricing template by making pricing feel like output from a CLI you'd actually trust.
COLOR SYSTEM
Background: #0A0B0D. Card surface: #111317. Card border default: #22262E, card border Team (featured): #3ECF8E. Text primary: #E6E8EB. Text secondary: #8B8F98. Price numerals: #E6E8EB, price suffix ("/mo"): #8B8F98. Terminal prompt green: #3ECF8E, prompt hover: #34B87C, prompt active: #2AA06B. Checkmark: #3ECF8E, cross/unavailable: #4A4E58. CTA Starter/Team button background: #1C1F24, hover #24282F, border #2E323B. CTA Enterprise button background: #3ECF8E, hover #34B87C, text #0A0B0D. Disabled control state: #2E323B.
TYPOGRAPHY
All numerals and code-like labels in JetBrains Mono: price 56px/100% weight 700, currency symbol and "/mo" suffix 16px weight 500 color #8B8F98. Plan name in JetBrains Mono 20px weight 700 uppercase, letter-spacing 0.02em. Body copy (feature list, descriptions) in Inter 15px/22px weight 400. Card eyebrow ("$ relay pricing --tier=starter") 13px JetBrains Mono #3ECF8E. Section headline Inter 40px/104% weight 700.
LAYOUT & GRID
Container max-width 1200px, centered, padding 24px mobile / 40px tablet / 0 desktop. Three cards in a 3-column grid, 24px gap, Team card scaled 1.03x and elevated with a 1px glow border. Toggle sits centered above cards, 220px wide pill. Breakpoints: mobile stacks cards vertically with the Team card reordered to top; tablet uses 2 columns wrapping Enterprise to a full-width row; desktop is the 3-column reference layout.
SECTIONS & COMPONENTS
Toggle: pill with two labels "Monthly" / "Annual", annual side shows a small badge "Save 20%" in #3ECF8E on #111317; thumb slides between states, focus-visible gets a 2px #3ECF8E outline. Starter card: header shows a blinking terminal cursor after "$ relay init --starter", price $0 monthly and annual (labeled "Free — 10k events/mo"), feature list "10,000 events/month", "7-day retry window", "Email support", "1 endpoint" with checkmarks, and greyed-out crossed items "Replay history" and "SLA". CTA "Get started" ghost button. Team card (featured, badge "Most popular" pinned top-right, rotated -4deg sticker style): price $49/mo monthly, $39/mo annual with the monthly figure animating a strikethrough as it fades out; features "100,000 events/month", "30-day retry and replay", "5 endpoints", "Priority support", "Slack alerts channel". CTA "Start free trial" filled #3ECF8E. Enterprise card: price replaced by "Custom" in the same mono price slot, subtext "Volume pricing, dedicated infra"; features "Unlimited events", "Custom retry policies", "Dedicated Slack channel", "99.99% SLA", "SSO/SAML"; CTA "Talk to sales" outlined button, hover fills #1C1F24. Feature rows include a tooltip icon next to "Custom retry policies" and "SSO/SAML" that on hover/focus shows a 240px popover explaining the term, dismissible with Escape. Loading state: while checkout redirect is pending, the CTA label swaps to a 3-dot pulse; error state (payment provider down) shows an inline red #E5484D banner "Checkout is temporarily unavailable — try again in a minute" below the CTA. Fallback state: if annual pricing fails to load from the API, cards fall back to monthly-only and hide the toggle.
MOTION
Toggle switch: thumb slides 180ms cubic-bezier(0.4,0,0.2,1). Price retype: on toggle change, existing digits delete right-to-left over 240ms (40ms per character), new digits type in left-to-right over 320ms (45ms per character), monospace cursor blinks at a 530ms interval throughout (opacity 1 to 0, stepped). Card hover: scale 1 to 1.015, 180ms ease-out, border color brightens 15%. Feature rows: fade-up stagger 40ms per row on viewport enter, 400ms duration, ease-out. Tooltip: opacity and scale 0.96 to 1, 150ms spring (stiffness 400, damping 30). Reduced motion: price change is an instant swap with a single 150ms opacity crossfade, cursor blink stops (static visible cursor), no card scale.
TECH & QUALITY
React 18, Tailwind CSS v4 with a CSS variable for the mono font stack, Framer Motion for the typewriter effect and toggle. Files: PricingSection.tsx, PricingCard.tsx, BillingToggle.tsx, useTypewriterPrice.ts. All prices are announced to screen readers via an aria-live="polite" region so the retype animation doesn't spam assistive tech mid-keystroke — only the final value is announced. Contrast of #E6E8EB on #0A0B0D is 16.9:1. Toggle is a real button with role="switch" and aria-checked; tooltips use aria-describedby.Table de tarification pour Relay, infrastructure de webhooks pour developpeurs, avec trois paliers (Starter, Team, Enterprise) et un toggle mensuel/annuel. Idee signature : chaque carte de prix ressemble a un terminal avec un curseur clignotant et le prix qui s'affiche en frappe machine a ecrire au changement de toggle.
Terminal monospace sombre, esthetique developpeur inspiree de Stripe et Vercel CLI
Force : l'esthétique terminal avec prix en frappe machine à écrire et curseur clignotant est exécutée jusque dans l'aria-live des changements de prix. Faiblesse : le motif « pricing façon CLI développeur » est un terrain déjà exploré dans l'univers dev-tool. Pas de réécriture nécessaire.
Dark glow premium inspire de Linear, aurore violette diffuse derriere un verre depoli epais
Light suisse minimal, blanc et gris neutres, rouge hélvétique en accent unique, précision typographique.
Dark neon arcade maitrise, violet electrique sur anthracite, energie sans chaos