PricingSection
A three-column learning-track comparison with feature checklists, a highlighted recommended path, and CTA buttons
Quick Preview
Choose your learning track
Start with fundamentals, move into production patterns, and grow into system-level frontend thinking.
Foundation
Start with the mental models, file conventions, and workflow you actually need.
- Routing and layout fundamentals
- Server vs Client Components
- Tailwind v4 basics
- Readable component examples
- Architecture tradeoffs
- Team-scale workflow guidance
Production
Turn working demos into maintainable, professional frontend systems.
- Production-ready component patterns
- Forms, actions, and validation
- Design tokens and UI systems
- Testing and code-quality habits
- Architecture reasoning
- Team-scale systems thinking
Professional Systems
Think in architecture, scale, design systems, and team-grade delivery.
- Architecture and project structure
- Scalable design system thinking
- Professional frontend tradeoffs
- Team workflows and review standards
- Implementation guidance
- Leadership-level systems context
Installation
# lucide-react is requirednpm install lucide-react// Add plan data tosrc/lib/constants.ts โ PRICING_PLANSsrc/types/index.ts โ PricingPlan, PricingFeature// Copy the component fromsrc/components/sections/PricingSection.tsx
Usage
import { PricingSection } from '@/components/sections/PricingSection'// Default โ uses PRICING_PLANS from constantsexport default function PricingPage() {return <PricingSection />}// Custom plansconst myPlans = [{id: 'basic',name: 'Basic',price: '$9',period: '/ month',description: 'For individuals.',features: [{ text: '10 projects', included: true },{ text: 'Team collaboration', included: false },],cta: { label: 'Get started', href: '/signup' },},]export default function PricingPage() {return <PricingSection plans={myPlans} title="Our plans" />}
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
plans | PricingPlan[] | - | Array of learning tracks (defaults to PRICING_PLANS from constants) |
title | string | "Choose your learning track" | Section heading |
subtitle | string | - | Sub-heading copy below the title |
className | string | - | Additional CSS classes for the section wrapper |
Features
- โ3-column responsive grid (stacks on mobile)
- โHighlighted recommended path with ring + shadow
- โFeature checklist with Check / X icons
- โConfigurable CTA per plan
- โData-driven: edit PRICING_PLANS in constants.ts