Skip to content
WingoUI
ComponentsTemplatesDocsPricingAI agentsBlogChangelogContact
Components
Buttons & Actions
ButtonButton GroupCopy ButtonDelete ButtonTheme ToggleToggleToggle Group
Inputs
Avatar UploadCalendarCheckboxColor PickerComboboxCountry SelectCron PickerCurrency InputDate PickerDate Range PickerDate Time PickerDuration PickerEmail InputEmoji PickerFile UploadFilter BuilderInputInput GroupListboxMasked InputMention InputMonth PickerMulti SelectNumber InputOTP InputPassword InputPhone InputRadio GroupRatingSearch InputSegmented ControlSelectSignature PadSliderSwitchTag InputTextareaTime PickerTimezone SelectTree Select
Forms
Address InputBooking WidgetCSV ImportFieldForm WizardInline EditInvoice line itemsRich Text EditorSchema Builder
Navigation
Back To TopBounce SidebarBreadcrumbCommand MenuGlobal SearchGooey NavHook SidebarNav MenuNav TabsPaginationProximity SidebarScroll ProgressSidebarStepsTable Of ContentsTabsTopbarUser MenuWorkspace Switcher
Overlays
Alert DialogContext MenuDialogDrawerDropdown MenuFamily DrawerHover CardPopoverShare DialogSheetShortcuts DialogTooltipTour
Feedback
AlertBannerCookie ConsentEmoji ReactionEmpty StateNotification BellNotification CenterProgressRoute ProgressSetup ChecklistSkeletonSpinnerToast
Data Display
Approval FlowAvatarBadgeCalendar ViewCode BlockComment ThreadContact cardCountdownDescription ListDiff ViewerFile ListFile managerFolderGanttJSON ViewerKbdLog ViewerMarkdownPresenceSchedulerTagTimelineTree View
Tables & Lists
Audit LogData TableDeal PipelineEditable GridKanbanListMembers tablePermissions MatrixTableTask ListVirtual List
Charts & Stats
Animated CounterArea chartBar chartDonut chartFunnel chartGaugeGitHub ActivityHeatmap calendarLeaderboardLine chartRadar chartRadial barSparklineStat CardTrackerTrend badge
Layout
AccordionApp ShellCardCollapsibleDetail LayoutEntity HeaderPage HeaderScroll AreaSeparatorSettings LayoutSplit ViewToolbar
Media
Audio PlayerCarouselCSV ViewerDOCX EditorDOCX ViewerExcel ViewerFile SystemImage compareImage CropperImage GalleryImage LightboxLocation MapPDF ViewerPowerPoint ViewerQR CodeStep PlayerVideo Player
AI Kit
Agent Status CardChat MessageChat ThreadChat WidgetConversation ListFluid OrbGrid RevealMatrix OrbModel PickerPrompt InputReasoning IndicatorRule BuilderSuggestion ChipsTool Call TimelineUsage MeterVoice InputWorkflow Canvas
Text & Effects
Background PatternGravity LettersMarqueeTerminalText AnimateText Rotate
Mobile
Action SheetBottom Tab BarFABHaptic ButtonHero HeaderInstall PromptLarge Title HeaderNotification BannerOnboarding CarouselPicker WheelPull To RefreshSlide To ConfirmSticky CTA BarSwipe DeckSwipeable Tabs
Commerce
Cart drawerCategory pickerCheckout stepsCoupon inputFavorite buttonFilter panelListing cardListing gridOrder trackerPricePrice rangePricing tableProduct galleryQuantity stepperReviewsSeller card
Marketing Sections
App Download SectionBlog Cards SectionCTA SectionFAQ SectionFeature GridFeature ShowcaseHero SectionIntegrations SectionLogo CloudMarketing FooterMarketing HeaderMarketing SectionNewsletter SectionPricing SectionStats SectionSteps SectionTeam SectionTestimonials SectionTimeline SectionVideo Section
Blocks
Admin Dashboard PageAdmin ShellAI Chat PageAPI Keys PageAutomation Builder PageCheckout PageCRM Contact PageCRM Pipeline PageError PagesInbox PageInvoice PageKPI DashboardListing Detail PageLogin PageMarketplace Home PageMarketplace Search PageMarketplace ShellMobile App HomeOnboarding FlowOrder History PagePost Listing WizardPricing PageProfile PageRegister PageSettings PageUsers Admin Page
Templates
About PageAcademy PageAccessibility PageAffiliate PageAgency PageAI Product PageAppointment Booking PageBlog PageBlog Post PageBug Bounty PageCareers PageChangelog PageCommunity PageCompare PageContact PageCustomer Story PageCustomers PageDemo Booking PageDevelopers PageDocs Home PageDownload PageEnterprise PageEvents PageExperts PageFAQ PageFeature PageGlossary PageHelp Article PageHelp Center PageHome Services PageImpact PageIntegration Detail PageIntegrations PageJob Detail PageLanding PageLaunch PageLegal PageManifesto PagePortfolio PagePress PageProduct Tour PagePromo PageReal Estate PageReferral PageResearch Report PageRestaurant PageRoadmap PageROI Calculator PageSecurity PageSolutions PageStartups PageStatus PageStorefront PageSwitch PageTemplate Gallery PageTravel PageWaitlist PageYear in Review Page
Hooks & Utilities
AI ChatChart kitCommerceDate utilsFile exportFile typesFiltersForm validationHapticsInvoicingMotion presetsNavigationNumber formatRelative timeRomanian locationsSpreadsheetText matchTonesUIProvideruseClipboarduseConsentuseControllableStateuseCooldownuseDebounceuseKeyboardInsetuseLocaleuseLongPressuseMediaControlsuseMediaQueryuseOverflowItemsusePersistedStateuseScrollEdgesuseScrollStateuseSelectionuseShortcutuseStickToBottom
GalleryTheme

Templates

Affiliate Page

Templates

Affiliate Page React template for Tailwind CSS v4

Design
Accessibility PageAgency Page
Design
Live props
Behavior
rate0.3
maxReferrals
animateIn
locale
State
defaultReferrals5
defaultPlanMix
Appearance
design
ctaVariant
tone
ctaTone
background
backgroundColor
bandBackground
bandColor
Layout
heroLayout
showDashboard
showCalculator
showSteps
showTiers
showTestimonials
showFaq
showCta
header
footer
Code
import { AffiliatePage } from "@/components/templates/affiliate-page"

<AffiliatePage />
  1. Home
  2. Templates
  3. Affiliate Page
Pro

Affiliate Page React template for Tailwind CSS v4

v1.1.0·Updated in 1.9.0

A React affiliate program page template: a commission hero, an earnings calculator, tiers, partner quotes, an application form and FAQ.

Apply now and How it works jump down the page; the announcement pill jumps to the tiers. The hero shows a partner dashboard drawn in code. In the calculator, drag the slider (or use the arrow keys) for the number of teams you refer each month and pick what your audience mostly buys: the monthly commission after a year and the first-year total roll to their new values in USD, with the per-customer amount under them. The tiers (Partner, Pro Partner, Elite: commission, cookie window, what it takes and perks) are a table from 768px and one card per tier on phones. The application form checks name, email, a website or channel link, the audience size and at least 20 characters on how you would promote Acme; errors show under each field and focus jumps to the first one. Send application spins while it sends, then the form turns into a confirmation with Send another application. The FAQ opens one answer at a time.

Affiliate Page is a Pro React template in the React website templates category, written in TypeScript for React 19 and Tailwind CSS v4. It installs as source with npx wingo-ui@latest add affiliate-page, together with CTA Section, FAQ Section, Hero Section, Marketing Footer, Marketing Header and 13 more and the npm packages motion and lucide-react.

Built with

The sections this page is made of. In the full-screen preview, hold Alt to outline each one on the page.

  • CTA Sectioncta-section
  • FAQ Sectionfaq-section
  • Hero Sectionhero-section
  • Marketing Footermarketing-footer
  • Marketing Headermarketing-header
  • Marketing Sectionmarketing-section
  • Stats Sectionstats-section
  • Testimonials Sectiontestimonials-section

Add to a project

Requirements: React 19 and Tailwind CSS v4, in Next.js (App Router or Pages), Vite or React Router. Installation guide · Next.js setup · Vite setup

npx wingo-ui@latest add affiliate-page

Affiliate Page is part of Pro, with 298 more Pro items: $8 a month or $150 once. 14-day refund before you download any Pro item. See plans or unlock it free with an account

Usage

Import AffiliatePage from @/components/templates/affiliate-page.

// app/(marketing)/partners/page.tsx
"use client"

import Link from "next/link"
import { AffiliatePage } from "@/components/templates/affiliate-page"

export default function PartnersRoute() {
  return (
    <AffiliatePage
      linkComponent={Link}
      onApply={async (application) => {
        const res = await fetch("/api/partners/apply", { method: "POST", body: JSON.stringify(application) })
        if (!res.ok) throw new Error("Application failed")
      }}
    />
  )
}

Props

  • planMixesdefault "AFFILIATE_PLAN_MIXES"
    AffiliatePlanMix[]

    The calculator's plan options: { value, label, description, monthlyBill }.

  • stepsdefault "AFFILIATE_STEPS"
    AffiliateStep[]

    How it works: { icon, title, description }.

  • tiersdefault "AFFILIATE_TIERS"
    AffiliateTier[]

    Commission tiers: { id, name, rate, cookieDays, requirement, perks, highlight? }.

  • testimonialsdefault "AFFILIATE_QUOTES"
    AffiliateQuote[]

    Partner quotes: { quote, name, role, company, metric? }.

  • faqdefault "AFFILIATE_FAQ"
    AffiliateFaq[]

    { question, answer } pairs.

  • audienceSizesdefault "AFFILIATE_AUDIENCE_SIZES"
    AffiliateOption[]

    The audience size options of the form.

  • statsdefault "AFFILIATE_STATS"
    StatsSectionItem[]

    The bold design's numbers band: { value, decimals?, prefix?, suffix?, label }.

  • labelsdefault "DEFAULT_AFFILIATE_PAGE_LABELS"
    Partial<AffiliatePageLabels>

    Every visible string, the form errors included.

  • ratedefault 0.3
    number

    The commission the calculator uses (0.3 = 30%).

  • defaultReferralsdefault 5
    number

    Teams referred per month the calculator starts on.

  • defaultPlanMixdefault "mixed"
    string

    The plan mix the calculator starts on.

  • maxReferralsdefault 50
    number

    The end of the referrals slider.

  • designdefault "classic"
    "classic" | "bold"

    The whole page's look. classic follows the layout props; bold: a soft page with gradient bands, a pill header, a magazine size title on a gradient mesh with the dashboard under it, an inverted numbers band, the earnings on an inverted panel, solid step icons with big numbers, rounder tier and form cards, a featured quote, FAQ cards, a closing card that emails the partner kit and a wordmark footer. headerProps and footerProps still win.

  • heroLayoutdefault "split"
    "split" | "centered" | "stacked"

    split: copy left, dashboard right; centered and stacked put the dashboard under the copy. Applies to the classic design.

  • showDashboarddefault true
    boolean

    The drawn partner dashboard in the hero.

  • showCalculatordefault true
    boolean

    The earnings calculator.

  • showStepsdefault true
    boolean

    The How it works steps from sign up to payout.

  • showTiersdefault true
    boolean

    The commission tiers.

  • showTestimonialsdefault true
    boolean

    Partner quotes.

  • showFaqdefault true
    boolean

    The program FAQ.

  • showCtadefault true
    boolean

    The closing call to action.

  • ctaVariantdefault "inverted"
    "inverted" | "soft" | "split" | "plain"

    The look of the closing call to action. Applies to the classic design.

  • headerdefault true
    boolean

    The sticky marketing header; turn it off when the page sits in a site layout.

  • footerdefault true
    boolean

    The marketing footer.

  • headerProps
    Partial<MarketingHeaderProps>

    Passed to MarketingHeader (announcement, ctaTone, items...).

  • footerProps
    Partial<MarketingFooterProps>

    Passed to MarketingFooter.

  • onApply
    (application: AffiliateApplication) => (void | Promise<unknown>)

    Sends the application { name, email, website, audience, promotion }; a returned promise keeps the button loading and a rejection shows an error. Without it the form waits 900 ms and succeeds.

  • onSubscribe
    (email: string) => (void | Promise<unknown>)

    Sends the partner kit from the bold design's closing card; a rejected promise shows an error. Without it the form waits 900 ms and succeeds.

  • tonedefault "neutral"
    "neutral" | "brand" | "success" | "warning" | "danger" | "info"

    The page tint (unless backgroundColor is set), the slider, step tiles, the yearly figure, the popular tier badge and FAQ accents.

  • ctaTonedefault "neutral"
    "neutral" | "brand" | "success" | "warning" | "danger" | "info"

    The primary buttons of the hero, the form and the closing band.

  • backgrounddefault "glow"
    "plain" | "soft" | "glow" | "aurora" | "grid" | "dots"

    The main background: plain is the bare page color; the others tint the page and add a glow, an aurora, a grid or dots over the first screen. A design picks its own unless you set one.

  • backgroundColordefault "oklch(0.62 0.14 275)"
    string

    The tint and glow color of the main background; follows tone when tone is not neutral.

  • bandBackgrounddefault "muted"
    "muted" | "tinted" | "gradient" | "dots"

    The secondary background of the alternating bands. Cards, fields and tiles inside a band are lifted one step above it, so they never share its color.

  • bandColordefault "oklch(0.62 0.14 275)"
    string

    The tint of tinted and gradient bands; defaults to backgroundColor.

  • animateIndefault true
    boolean

    The hero rises in once on mount; off in thumbnails and under reduced motion.

  • localedefault "en-US"
    string

    Intl locale for the amounts (always USD) and percentages.

  • linkComponentdefault "<a>"
    (props: LinkComponentProps) => ReactNode

    The router link for every link (next/link in an app); default the LinkProvider's.

  • className
    string

    Classes for the root.

  • classNames
    Partial<Record<AffiliatePageSlot, string>>

    Classes for hero, stats, calculator, steps, tiers, testimonials, apply, form, faq and cta.

Parts

  • AffiliateCalculator

    component

    The earnings calculator on its own: a referrals slider, a plan mix select and the animated monthly and first-year commission. Takes div props.

    • planMixesdefault "AFFILIATE_PLAN_MIXES"
      AffiliatePlanMix[]

      The plan options.

    • defaultReferralsdefault 5
      number

      Where the slider starts.

    • defaultPlanMixdefault "mixed"
      string

      The plan mix it starts on.

    • ratedefault 0.3
      number

      The commission rate.

    • maxReferralsdefault 50
      number

      The end of the slider.

    • tonedefault "neutral"
      Tone

      The slider and the yearly figure.

    • classNames
      Partial<Record<"controls" | "results", string>>

      Classes for the slider column and the results panel.

    • localedefault "en-US"
      string

      Number format.

    • labels
      Partial<AffiliatePageLabels>

      The strings.

  • AffiliateTiers

    component

    The tiers as a table from 768px and one card per tier on phones. Takes div props.

    • tiersdefault "AFFILIATE_TIERS"
      AffiliateTier[]

      The tiers.

    • tonedefault "neutral"
      Tone

      The popular badge.

    • localedefault "en-US"
      string

      Percent format.

    • labels
      Partial<AffiliatePageLabels>

      The strings.

  • AffiliateApplyForm

    component

    The validated application form with loading and an inline confirmation. Takes div props.

    • audienceSizesdefault "AFFILIATE_AUDIENCE_SIZES"
      AffiliateOption[]

      The audience size options.

    • onApply
      (application: AffiliateApplication) => (void | Promise<unknown>)

      Sends the application.

    • tonedefault "neutral"
      Tone

      The submit button.

    • labels
      Partial<AffiliatePageLabels>

      The strings.

  • affiliateEarnings

    function

    affiliateEarnings(referralsPerMonth, monthlyBill, rate) returns { perCustomer, monthly, yearly }: the commission at month 12 and the total over the first 12 months.

  • AFFILIATE_PLAN_MIXES

    constant

    Mostly Pro ($144 a month), a mix ($252) and mostly Business ($360).

  • AFFILIATE_STEPS

    constant

    Apply, share your link, get paid.

  • AFFILIATE_TIERS

    constant

    Partner 30%, Pro Partner 35% and Elite 40%.

  • AFFILIATE_STATS

    constant

    1,800+ partners, $2.4M paid out, a 40% top rate and 12 months of commission.

  • AFFILIATE_PAGE_DESIGNS

    constant

    The design names, classic first: ["classic", "bold"].

  • AffiliatePageDesign

    type

    The design prop's values: "classic" | "bold".

  • AFFILIATE_QUOTES

    constant

    Three partner quotes with earnings metrics.

  • AFFILIATE_FAQ

    constant

    Five program questions.

  • AFFILIATE_AUDIENCE_SIZES

    constant

    Four audience size ranges.

  • DEFAULT_AFFILIATE_PAGE_LABELS

    constant

    The English strings.

  • AffiliateApplication

    type

    { name, email, website, audience, promotion }.

  • AffiliatePlanMix

    type

    { value, label, description, monthlyBill }.

  • AffiliateTier

    type

    { id, name, rate, cookieDays, requirement, perks, highlight? }.

  • AffiliateStep

    type

    { icon, title, description }.

  • AffiliateQuote

    type

    { quote, name, role, company, metric? }.

  • AffiliateFaq

    type

    { question, answer }.

  • AffiliateOption

    type

    A select option in the application form: { value, label }.

  • AffiliatePageProps

    type

    Props of AffiliatePage.

Examples

Open

Bold design

design="bold": huge type on a gradient mesh, a numbers band, an inverted earnings panel, big step numbers and a partner kit form.

Open

Brand tone

The marketing orange on the slider, step tiles, the yearly figure and every primary button.

Open

Big audience, Business teams

The calculator starts at 30 teams a month, mostly on Business, with a slider up to 100.

Open

Centered hero, short page

The dashboard under the copy, without testimonials or FAQ, and a soft closing band.

Open

Application that fails

onApply rejects, so the form shows its error and keeps what was typed.

Dependencies

motionlucide-reactcta-sectionfaq-sectionhero-sectionmarketing-footermarketing-headermarketing-sectionstats-sectiontestimonials-sectionanimated-counterbuttoninputselectslidertextareamotionnavigationtonesui-config

Files

  • components/templates/affiliate-page.tsx
  • components/templates/affiliate-page-data.ts

FAQ

Is the React Affiliate Page template free?

The preview, props and docs are free; copying the source needs a Pro plan. See plans.

How do I install Affiliate Page?

Run npx wingo-ui@latest add affiliate-page. It also adds the Wingo UI items it builds on (CTA Section, FAQ Section, Hero Section, Marketing Footer, Marketing Header and 13 more) and the npm packages motion and lucide-react. With shadcn, add the @wingo-ui registry with your API key, then run npx shadcn@latest add @wingo-ui/affiliate-page.

How does Affiliate Page behave on phones?

The tiers (Partner, Pro Partner, Elite: commission, cookie window, what it takes and perks) are a table from 768px and one card per tier on phones.

See also

Pricing PageSliderAnimated CounterTestimonials SectionFAQ Section

New components by email

New posts, product news and occasional offers from Wingo UI. We count clicks to keep it relevant.

PreviousAccessibility PageNext Agency Page