Skip to content
Uxelith
Sign in
Prov1.0.0Marketing blocks

Pricing Section

A monthly/yearly switch with the saving shown, three plans whose prices roll to their new value (the monthly price struck through on yearly), a full comparison table and a no-script FAQ.

Installs with Uxelith ProHow
Licence
Pro
Packages
3
Updated
9 Oct 2026
Live

Installation

Usage

example.tsx
import { PricingSection } from "@/components/pricing-section"

export default function Page() {
  return <PricingSection currency="USD" />
}

Props

PropTypeDefaultDescription
plansPricingPlan[]three plansname, description, monthly, yearly, featuresTitle?, features, cta, highlighted?, badge?.
comparisonPricingComparisonRow[]8 rowsFeature table under the cards ({ group?, feature, values }); [] hides it.
faqs{ question; answer }[]threeNative <details> FAQ.
currency / localestring"USD" / "en-US"Price formatting.
defaultPeriod"monthly" | "yearly""yearly"Billing period shown first.
eyebrow / title / subtitlestring—Section heading and intro.

Accessibility

  • The billing switch is a labelled radio group ("Billing period"); the cards stay put and only prices change, so focus is never lost.
  • Each plan is an article named by its heading; features say Included / Not included.
  • The comparison is a real table with row, column and group headers, behind a button with aria-expanded; ticks and dashes read as Included / Not included.
  • The FAQ uses native <details>, which works with no script and with find-in-page.

Changelog

  1. v1.0.0Latest

    First release.

More in Marketing blocks

All 8 in Marketing blocks
  • Marketing blocksPro

    Bento Feature Grid

    A features section as a bento grid: five tiles with live CSS illustrations (motion curves, a theme cycling, frameworks, a typing terminal, a focus ring stepping with Tab), a shared spotlight and scroll-driven entrances.

  • Marketing blocksPro

    FAQ Section

    Frequently asked questions: a large heading, an animated accordion, an optional search that narrows and highlights answers, a contact card and FAQPage structured data.

  • Marketing blocksFree

    Hero Section

    A landing-page hero: a large headline that comes into focus, a magnetic call to action, customer marks and a live product shot with a self-drawing chart, a visiting cursor and floating cards.