Startups Page
v1.0.0Added in 1.8.0
A startup program page: a drawn credits pass, a live eligibility checker, savings calculator, partner perks and an application form.
The hero rises in once on mount beside a drawn Acme for Startups pass ($10,000 in credits, 12 months of Business, a credits-left bar) that tilts into place over a soft glow, with a review time chip and an unlocked perk floating around it on wide screens. Apply in 5 minutes jumps to the form, Check eligibility to the checker. The checker asks how much the company raised and how old it is (segmented controls), the team size (a slider) and whether it already pays for Acme (a switch); the rule chips and the tier card update live: Seed (an inverted card with the value counting to $10,000), Pre-seed, or Not eligible yet with the reasons and links to sales and pricing. Apply for Seed carries the stage and team size into the form and scrolls there. In the savings calculator the team size slider and the Pro / Business switch roll the year-one savings, the credits-used bar and the breakdown. The perks marketplace filters by category with a chip row (scrollable on phones) and recounts the total; Claim on a locked perk opens an inline note with an Apply link, and with accepted it reveals the partner code with a copy button. The application form checks every field (website format, work email on blur, a 20-character minimum for the use case), shows each error under its field and focuses the first; while onApply runs the button spins, a rejection shows an error, then a success panel shows the application ID (copyable), a summary and the next steps. Founder quotes, steps, FAQ (one answer open at a time) and the footer newsletter follow. Reduced motion keeps everything still.
Built with
The sections this page is made of. In the full-screen preview, hold Alt to outline each one on the page.
Add to a project
npx wingo-ui@latest add startups-pagePro item: the CLI needs a Pro account. See plans
Usage
// app/(marketing)/startups/page.tsx
"use client"
import Link from "next/link"
import { StartupsPage } from "@/components/templates/startups-page"
export default function StartupsRoute() {
return (
<StartupsPage
linkComponent={Link}
ctaTone="brand"
onApply={async (values) => {
const response = await fetch("/api/startups/apply", { method: "POST", body: JSON.stringify(values) })
if (!response.ok) throw new Error("Could not send the application")
const { id } = await response.json()
return id
}}
/>
)
}Props
designdefault"classic""classic" | "bold" | "minimal"The whole page's look. classic follows the layout props: a split hero with the pass on the right over a dotted glow; bold: a pill header, a giant stage title on a gradient mesh, rounder panels, logo tiles, step cards, a quote wall, FAQ cards, an image band and a wordmark footer; minimal: a transparent header, a centered stacked hero, no glow or floating chips, outlined flat panels, no gray bands and a simple footer. The *Props overrides still win.
backersdefault"STARTUPS_BACKERS"StartupsBacker[]The hero's Founders from row: { name, icon?, className? } accelerators and funds drawn as text wordmarks.
logosdefault"STARTUPS_LOGOS"LogoCloudItem[]Startups in the program for the logo strip: { name, icon?, href?, className? }.
tiersdefault"STARTUPS_TIERS"Record<StartupsTierId, StartupsTier>seed, pre-seed and ineligible: { name, headline, description, plan?, months?, credits, includes }. The hero pass and the calculator use seed.
pricesdefault"STARTUPS_PRICES"Record<"pro" | "business", number>Per user per month in USD for the calculator: { pro: 12, business: 24 }.
benefitsdefault"STARTUPS_BENEFITS"StartupsBenefit[]The four tiles under the calculator: { id, icon?, title, description }.
perksdefault"STARTUPS_PERKS"StartupsPerk[]Partner offers: { id, partner, icon?, category, offer, description, value (USD), code }.
perkCategoriesdefault"STARTUPS_PERK_CATEGORIES"StartupsPerkCategory[]The filter chips, { value, label }; only categories that hold perks show.
fundingOptionsdefault"STARTUPS_FUNDING_OPTIONS"StartupsOption[]The checker's funding answers; the values none, under-500k, 500k-5m and over-5m drive the rules.
ageOptionsdefault"STARTUPS_AGE_OPTIONS"StartupsOption[]The checker's company age answers; over-5 is not eligible.
stagesdefault"STARTUPS_STAGES"StartupsOption[]The form's funding stage select, { value, label, hint? }; the hint shows under the field once picked.
teamSizesdefault"STARTUPS_TEAM_SIZES"StartupsOption[]The form's team size select; values like "6-15" let the checker preselect the bucket.
stepsdefault"STARTUPS_STEPS"StepsSectionItem[]How it works: { icon?, title, description, meta? }.
testimonialsdefault"STARTUPS_TESTIMONIALS"Testimonial[]Founder quotes: { quote, name, role?, company?, companyIcon?, metric? }.
faqdefault"STARTUPS_FAQ"FaqItem[]{ question, answer } pairs about the program.
labelsdefault"DEFAULT_STARTUPS_PAGE_LABELS"Partial<StartupsPageLabels>Every visible string; the ones with numbers in them are functions.
hrefsdefault"DEFAULT_STARTUPS_PAGE_HREFS"Partial<StartupsPageHrefs>{ apply, eligibility, perks, sales, pricing, privacy }: the in-page anchors, contact, pricing and the privacy policy.
defaultAnswersdefault"{ funding: "500k-5m", age: "1-3", teamSize: 12, paying: false }"Partial<StartupsAnswers>The checker's answers on load.
maxTeamdefault50numberThe biggest team the program takes: the checker's rule and the calculator's slider end.
defaultSeatsdefault12numberThe calculator's team size on load.
defaultPlandefault"business""pro" | "business"The calculator's plan on load.
defaultCategorydefault"all"stringThe perks filter on load: all or a category value.
accepteddefaultfalsebooleanThe startup is in the program: perks show unlocked and Claim reveals each partner's code with a copy button.
requireWorkEmaildefaulttruebooleanRefuses free mail domains (gmail.com, outlook.com...) in the form.
minUseCasedefault20numberThe shortest How will you use Acme? answer, in characters; the field's hint says so. 0 drops the rule.
stepsLayoutdefault"horizontal""horizontal" | "cards" | "vertical"How it works as a numbered row, numbered tiles or a timeline rail. Applies to the classic design.
testimonialsLayoutdefault"featured""featured" | "grid" | "carousel" | "marquee"Founder quotes as one big quote and two small, a masonry grid, a swipeable rail or drifting rows. Applies to the classic design.
ctaVariantdefault"inverted""inverted" | "soft" | "split"The closing band: a solid band, a gray band, or copy beside the buttons on a raised panel. Applies to the classic design.
showAnnouncementdefaulttruebooleanThe strip above the header bar.
showBackersdefaulttruebooleanThe hero's Founders from wordmarks.
showLogosdefaulttruebooleanThe strip of startups in the program.
showEligibilitydefaulttruebooleanThe eligibility checker.
showIncludeddefaulttruebooleanWhat you get: the savings calculator and the benefit tiles.
showPerksdefaulttruebooleanThe perks marketplace.
showStepsdefaulttruebooleanHow it works.
showTestimonialsdefaulttruebooleanThe founder quotes.
showApplydefaulttruebooleanThe application form.
showFaqdefaulttruebooleanThe FAQ.
showCtadefaulttruebooleanThe closing call to action.
alternatedefaulttruebooleanGray bands on every other visible section. Applies to the classic and bold designs.
tonedefault"neutral""neutral" | "brand" | "success" | "warning" | "danger" | "info"Accents across the page: the hero glow, the pass, slider and switch fills, the credits bars, benefit icons, checks and unlocked Claim buttons.
ctaTonedefault"neutral""neutral" | "brand" | "success" | "warning" | "danger" | "info"Apply in 5 minutes, the tier's Apply button, Submit application, the header's Get started and the closing band; brand is the marketing orange.
radiusdefault"md""none" | "sm" | "md" | "lg" | "full"The corners of the form fields.
headerdefaulttruebooleanThe marketing header; off inside a site layout.
footerdefaulttruebooleanThe marketing footer with its newsletter form.
headerPropsPartial<MarketingHeaderProps>Passed to MarketingHeader.
footerPropsPartial<MarketingFooterProps>Passed to MarketingFooter.
logosPropsPartial<LogoCloudProps>Overrides for the LogoCloud.
stepsPropsPartial<StepsSectionProps>Overrides for the StepsSection.
testimonialsPropsPartial<TestimonialsSectionProps>Overrides for the TestimonialsSection.
faqPropsPartial<FaqSectionProps>Overrides for the FaqSection.
ctaPropsPartial<CtaSectionProps>Overrides for the CtaSection.
onApply(values: StartupsApplication) => (void | Promise<unknown>)The application: { company, website, email, stage, teamSize, backer, useCase }. A promise keeps Submit loading, a rejection shows an error, and a string it resolves with becomes the application ID. Without it the form waits 900 ms and shows the success panel.
onClaim(perk: StartupsPerk) => voidA partner code was revealed (accepted only).
onTierChange(tier: StartupsTierId) => voidThe checker's answers moved the startup to another tier.
onSubscribe(email: string) => (void | Promise<unknown>)The footer newsletter; a rejected promise shows an error.
animateIndefaulttruebooleanThe hero rises in once, the pass tilts into place and the quotes drift; false keeps the page still (thumbnails). Reduced motion always does.
localedefault"en-US"stringIntl locale for the USD amounts and counters.
linkComponentdefault"<a>"(props: LinkComponentProps) => ReactNodeThe router link for every link on the page (next/link in an app).
classNamestringClasses for the root.
classNamesPartial<Record<StartupsPageSlot, string>>Classes for header, hero, title, offer, backers, logos, eligibility, result, included, calculator, benefit, perks, perk, steps, testimonials, apply, form, success, faq, cta and footer.
Parts
STARTUPS_PAGE_SAMPLE
constantAll the sample content in one object: backers, logos, tiers, prices, benefits, perks, categories, checker and form options, steps, testimonials and faq.
STARTUPS_TIERS
constantSeed (12 months of Business, $10,000), Pre-seed (6 months of Pro, $2,500) and Not eligible yet.
STARTUPS_PRICES
constantPro $12 and Business $24 per user per month.
STARTUPS_LIMITS
constant{ maxTeam: 50 }.
STARTUPS_DEFAULT_ANSWERS
constantThe checker's starting answers: $500k to $5M raised, 1 to 3 years old, 12 people, not paying.
STARTUPS_BACKERS
constantFive fictional accelerators and funds: Foundry Labs, Northstar Ventures, Seedwell, Arcadia Capital and Tidewater.
STARTUPS_LOGOS
constantEight fictional startups in the program.
STARTUPS_BENEFITS
constantCredits, Business for a year, partner perks and founder support.
STARTUPS_PERKS
constantTwelve partner offers across cloud, analytics, payroll, legal, design and dev tools.
STARTUPS_PERK_CATEGORIES
constantThe six perk categories.
STARTUPS_FUNDING_OPTIONS
constantNone, under $500k, $500k to $5M and $5M or more.
STARTUPS_AGE_OPTIONS
constantUnder 1 year, 1 to 3, 3 to 5 and 5 or more years.
STARTUPS_STAGES
constantBootstrapped, Pre-seed, Seed and Series A, each with a hint.
STARTUPS_TEAM_SIZES
constant1 to 5, 6 to 15, 16 to 30 and 31 to 50 people.
STARTUPS_STEPS
constantApply in 5 minutes, reviewed in 48 hours, credits applied.
STARTUPS_TESTIMONIALS
constantSix founder quotes with startup names and stages.
STARTUPS_FAQ
constantSix questions about the rules, accelerators, paying customers, year two, perks and upgrades.
getStartupsEligibility
functionThe checker's rules: (answers, maxTeam = 50) => { tier, reasons }. Over $5M raised, 5+ years old or a team over maxTeam is not eligible; $500k to $5M is Seed, less is Pre-seed.
DEFAULT_STARTUPS_PAGE_LABELS
constantThe English strings.
DEFAULT_STARTUPS_PAGE_HREFS
constantThe default link targets.
STARTUPS_PAGE_DESIGNS
constantThe design names, classic first: ["classic", "bold", "minimal"].
StartupsPageProps
typeProps of StartupsPage.
StartupsPageDesign
type"classic" | "bold" | "minimal".
StartupsTier
typeOne tier of the program.
StartupsTierId
type"seed" | "pre-seed" | "ineligible".
StartupsAnswers
typeThe checker's answers: { funding, age, teamSize, paying }.
StartupsEligibility
typeWhat getStartupsEligibility returns.
StartupsApplication
typeThe form's values passed to onApply.
StartupsPerk
typeOne partner offer.
StartupsPageLabels
typeThe strings labels can override.
StartupsPageHrefs
typeThe link targets hrefs can override.
Examples
Bold design
design="bold": a giant stage title on a gradient mesh, rounder panels, logo tiles, step cards, a quote wall and a wordmark footer.
Minimal design
design="minimal": a transparent header, a centered hero with a flat pass, outlined panels, no gray bands and a simple footer.
Accepted startup in brand orange
accepted with tone and ctaTone brand: perks show unlocked and Claim reveals each partner code with a copy button.
Not eligible yet
defaultAnswers past the rules: the checker opens on Not eligible yet with the reasons and links to sales and pricing.
Review queue down
An onApply that rejects: fill the form and submit to see the error banner while every value stays in place.
Dependencies
Files
- components/templates/startups-page.tsx
- components/templates/startups-page-data.ts