Pro (paid add-on)
Marketing sections
ProLanding-page sections that compose into a full page: a hero, a feature grid, a pricing table, testimonials, questions and answers, a call to action and a footer.
Part of Pro
This page documents part of @vjdesigns-pro/ui, the paid add-on package. Using it needs a Pro license and @vjdesigns/vjdesigns-ui 3.8.0 or later. Like the free package, it works in both modes, every brand, all 32 languages and right to left. Install it as described in Account forms.
Example
Landing-page sections that compose into a full page: a hero, a feature grid, a pricing table, testimonials, questions and answers, a call to action, and a footer.
import {
CallToAction,
FaqSection,
FeatureGrid,
MarketingFooter,
MarketingHero,
PricingTable,
Testimonials,
} from "@vjdesigns-pro/ui";
<MarketingHero eyebrow="New: live stats" title="Run your season, not your inbox" description="…"
actions={<Button size="lg">Start free</Button>} />
<FeatureGrid title="Everything your team needs"
features={[{ icon, title: "Schedules that sync", description: "…" }]} />
<PricingTable
title="Simple pricing"
currency="USD"
billingNote="Two months free, yearly"
plans={[
{
id: "club",
name: "Club",
price: { monthly: 29, yearly: 290 },
features: ["Up to 10 teams", { label: "Film sharing", included: false }],
action: <Button>Start trial</Button>,
highlighted: true,
},
]}
/>
<Testimonials title="Coaches love it"
testimonials={[{ quote: "…", name: "Dana Whitfield", role: "Head coach", rating: 5 }]} />
<FaqSection title="Questions" items={[{ question: "Can I try it first?", answer: "Yes…" }]} />
<CallToAction title="Ready for tip-off?" actions={<Button size="lg">Start free</Button>} />
<MarketingFooter brand={<Logo />} legal="© 2026 Courtside"
columns={[{ title: "Product", links: [{ label: "Pricing", href: "/pricing" }] }]} />
Accessible by default
- Each section is a landmark named by its heading. Set
headingLevelto fit your page; the hero defaults to the page'sh1. PricingTableformats prices for the locale andcurrency. The monthly and yearly switch appears when plans have yearly prices, and each feature is read as "Included" or "Not included".FaqSectionis anAccordion: each question is a heading with a button.MarketingFootermakes each link column its own labeled navigation.
Props
MarketingHero
The opening section of a landing page: an eyebrow, a big bold headline, a line of supporting text, calls to action, and an optional image or product shot. A <section> named by its headline.
| Prop | Type | Default |
|---|---|---|
eyebrowA short label above the title (a launch, a category). | ReactNode | — |
titleRequiredThe headline. | ReactNode | — |
descriptionOne or two sentences under the headline. | ReactNode | — |
actionsCalls to action, usually one primary and one secondary | ReactNode | — |
mediaA product shot, illustration, or video beside (split) or under (stacked) the text. | ReactNode | — |
layout
| "stacked""split" | "stacked" |
headingLevelLevel of the headline. Use 1 when the hero opens the page. | 123456 | 1 |
Also accepts native <section> attributes, plus className, style and ref.
FeatureGrid
A grid of features, each with an icon, a title, and a short description.
| Prop | Type | Default |
|---|---|---|
featuresRequired | readonly MarketingFeature[] | — |
columnsColumns on wide screens; fewer fit on narrow ones. | 234 | 3 |
titleSection heading. Names the section landmark. | ReactNode | — |
descriptionA line or two under the heading. | ReactNode | — |
headingLevelLevel of the section heading; items inside use the next level. | 123456 | 2 |
PricingTable
Pricing plans side by side, with a monthly / yearly switch when plans have yearly prices. Prices are formatted for the locale and currency; yearly billing shows the monthly equivalent and the yearly total. Each feature is read as "Included" or "Not included", since the check and cross are decorative. Plans are a list; a highlighted plan gets a badge.
| Prop | Type | Default |
|---|---|---|
plansRequired | readonly PricingPlan[] | — |
currencyISO 4217 currency of the prices. | string | "USD" |
billingBilling shown (controlled). | "monthly""yearly" | — |
defaultBillingInitial billing when uncontrolled. | "monthly""yearly" | "monthly" |
onBillingChangeCalled when the monthly / yearly switch changes. | (billing: PricingBilling) => void | — |
billingNoteText beside the switch, such as "Save 20% yearly". | ReactNode | — |
titleSection heading. Names the section landmark. | ReactNode | — |
descriptionA line or two under the heading. | ReactNode | — |
headingLevelLevel of the section heading; items inside use the next level. | 123456 | 2 |
Testimonials
Quotes from customers, each with their name, role, photo, and an optional star rating.
| Prop | Type | Default |
|---|---|---|
testimonialsRequired | readonly MarketingTestimonial[] | — |
columnsColumns on wide screens. | 123 | 3 |
titleSection heading. Names the section landmark. | ReactNode | — |
descriptionA line or two under the heading. | ReactNode | — |
headingLevelLevel of the section heading; items inside use the next level. | 123456 | 2 |
FaqSection
Frequently asked questions as an accordion: each question is a heading with a button that shows its answer.
| Prop | Type | Default |
|---|---|---|
itemsRequired | readonly MarketingFaq[] | — |
defaultOpenQuestions open at first (indexes). | number[] | [] |
titleSection heading. Names the section landmark. | ReactNode | — |
descriptionA line or two under the heading. | ReactNode | — |
headingLevelLevel of the section heading; items inside use the next level. | 123456 | 2 |
CallToAction
A closing band that asks for one action: start a trial, book a demo, sign up.
| Prop | Type | Default |
|---|---|---|
titleRequiredSection heading. Names the section landmark. | ReactNode | — |
actionsButtons or links. | ReactNode | — |
variant
| "soft""outline" | "soft" |
descriptionA line or two under the heading. | ReactNode | — |
headingLevelLevel of the section heading; items inside use the next level. | 123456 | 2 |
MarketingFooter
The site footer: brand, link columns (each a labeled navigation), social links, and a legal line.
| Prop | Type | Default |
|---|---|---|
brandLogo or wordmark. | ReactNode | — |
taglineA line about the product, under the brand. | ReactNode | — |
columnsLink columns, each its own navigation landmark named by its title. | readonly FooterColumn[] | — |
socialIcon links to social profiles. | readonly { label: string; href: string; icon: ReactNode; }[] | — |
legalThe bottom line: copyright, legal links. | ReactNode | — |
Also accepts native <footer> attributes, plus className, style and ref.
MarketingFeature
One feature.
| Prop | Type | Default |
|---|---|---|
iconA decorative icon. | ReactNode | — |
titleRequired | ReactNode | — |
description | ReactNode | — |
PricingPlan
One pricing plan.
| Prop | Type | Default |
|---|---|---|
idRequired | string | — |
nameRequired | string | — |
description | ReactNode | — |
pricePrice per month, and (optionally) the total per year. Leave out for a "contact sales" plan. | { monthly: number; yearly?: number; } | — |
priceLabelShown in place of a price (e.g. "Let's talk"). | ReactNode | the translated "Custom" when there's no price |
featuresRequiredWhat the plan includes. Strings are included; | readonly (string | { label: string; included?: boolean; })[] | — |
actionRequiredThe plan's call to action, usually a | ReactNode | — |
highlightedStand this plan out (the one most people pick). | boolean | — |
badgeBadge text for a highlighted plan. | ReactNode | the translated "Most popular" |
MarketingTestimonial
One testimonial.
| Prop | Type | Default |
|---|---|---|
quoteRequired | ReactNode | — |
nameRequired | string | — |
roleRole and organization ("Head coach, Ridge High"). | ReactNode | — |
avatarPhoto URL. Falls back to initials. | string | — |
ratingStar rating out of 5. | number | — |
MarketingFaq
One question and answer.
| Prop | Type | Default |
|---|---|---|
questionRequired | string | — |
answerRequired | ReactNode | — |
FooterColumn
A column of footer links.
| Prop | Type | Default |
|---|---|---|
titleRequired | string | — |
linksRequired | readonly { label: ReactNode; href: string; }[] | — |