Skip to main content
ALEXY LINK

Pricing 04

Four compact, full-width plan rows that slide in from alternating sides — a dense, scannable list instead of a card grid.

Requirements

HTML, CSS, JavaScript

Dependencies

None

Usage

Copy index.html, styles.css and script.js into your project.

About Pricing 04

Pricing 04 is a pricing section in the Pricing Sections collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated August 27, 2026.

  • pricing
  • compact
  • horizontal rows
  • four plans

What the code includes

HTML + CSS + JavaScript

3 files: index.html, styles.css, script.js

  • Behavior is handled in script.js.
  • ARIA in the markup: roles radiogroup, radio; aria-label, aria-checked.
  • HTML elements used: section, button.
  • Keyboard keys handled: ArrowUp, ArrowDown, ArrowLeft, ArrowRight.
  • Includes a prefers-reduced-motion rule for its animation.
  • Responsive CSS breakpoints at 640px, 1024px.

React + TypeScript + Tailwind CSS

3 files: Pricing04.jsx, Pricing04.types.ts, Pricing04.tailwind.css

  • Typed data shapes: PricingPlan.
  • Uses React hooks: useRef, useState.
  • ARIA in the markup: roles radiogroup, radio; aria-label, aria-checked.
  • HTML elements used: section, button.
  • Keyboard keys handled: ArrowUp, ArrowDown, ArrowLeft, ArrowRight.
  • Includes a prefers-reduced-motion rule for its animation.
  • Responsive Tailwind breakpoints used: sm, lg.
View all Pricing Sections (21)