Marketing sectionsPricing

Open in Create
Search
astronomic.dev

Pricing

Pro

To build your own pricing layout: a section heading and one or more plans, each with a price, what it includes and one action. For a ready layout, use PricingCards or PricingSingle.

File
Pricing.astro
Group
Marketing sections
Kind
Static: no JavaScript
Examples
1
import Pricing from "@astronomic/ui-pro/components/Pricing.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

Slots

The section is a shell: the eyebrow, the heading and the text always show in that order, then the list of plans in the default slot, one PricingPlan in an <li> each. The shell sets the type and the gaps; the recipes lay out the plans. PricingCards and PricingSingle are recipes built on it. childHeadingTag() in lib/heading.ts gives the plan names' level.

main.astro
Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.