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

Docs Home Page

Templates

Docs Home Page React template for Tailwind CSS v4

Design
Developers PageDownload Page
Design
Live props
Behavior
searchShortcut
animateIn
locale
State
defaultSearchOpen
defaultLanguage
Layout
showQuickStart
showGuides
showApi
showSdks
showChangelog
showHelp
header
footer
Appearance
design
background
backgroundColor
bandBackground
bandColor
heroBackground
tone
ctaTone
codeAccent
Code
import { DocsHomePage } from "@/components/templates/docs-home-page"

<DocsHomePage />
  1. Home
  2. Templates
  3. Docs Home Page
Pro

Docs Home Page React template for Tailwind CSS v4

v1.1.0·Updated in 1.9.0

A React docs portal home template: a search palette, quick-start cards, popular guides, API code samples, SDK tiles and the changelog.

Press the big search field in the hero, the Search field in the header, or Cmd+K / Ctrl+K anywhere: a search palette opens with results grouped under Guides, API reference, SDKs and Changelog. Type to filter (matches are bold), move with the arrow keys, Enter opens the page and Escape closes; the Popular chips under the field open it with that word already typed. On phones the palette is a full-height sheet. The four quick-start cards, every guide, SDK tile, changelog entry and help option are one link each with the focus ring on the card. In the API section the curl, JavaScript and Python tabs switch the code sample (arrow keys move between tabs) and its copy button copies the snippet; each SDK tile copies its install command. The status option pulses green. The header keeps Guides as a dropdown and folds into a menu sheet below 1024px; cards stack to one column on phones without sideways scrolling.

Docs Home 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 docs-home-page, together with Feature Grid, Hero Section, Marketing Footer, Marketing Header, Marketing Section and 10 more and the npm package 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.

  • Feature Gridfeature-grid
  • Hero Sectionhero-section
  • Marketing Footermarketing-footer
  • Marketing Headermarketing-header
  • Marketing Sectionmarketing-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 docs-home-page

Docs Home 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 DocsHomePage from @/components/templates/docs-home-page.

// app/(docs)/docs/page.tsx
"use client"

import Link from "next/link"
import { DocsHomePage } from "@/components/templates/docs-home-page"
import { DOCS_SEARCH } from "@/components/templates/docs-home-page-data"

export default function DocsRoute() {
  return (
    <DocsHomePage
      linkComponent={Link}
      searchGroups={DOCS_SEARCH}
      onSearchSelect={(item) => console.log("search pick", item.href)}
    />
  )
}

Props

  • navItemsdefault "DOCS_NAV"
    NavMenuItem[]

    The header links: Guides (a dropdown), API, SDKs, Changelog and Support.

  • quickStartdefault "DOCS_QUICK_START"
    DocsQuickStart[]

    The starting-point cards: { icon, title, description, href }.

  • guidesdefault "DOCS_GUIDES"
    DocsGuide[]

    Popular guides: { title, description, category, minutes, href }.

  • codeSamplesdefault "DOCS_CODE_SAMPLES"
    DocsCodeSample[]

    The API tabs: { value, label, language, filename, code }.

  • apiFactsdefault "DOCS_API_FACTS"
    { label: string; value: string }[]

    The four tiles beside the code: base URL, auth, rate limit, format.

  • sdksdefault "DOCS_SDKS"
    DocsSdk[]

    SDK tiles: { letters, name, install, version, href, color }.

  • changelogdefault "DOCS_CHANGELOG"
    DocsChangelogEntry[]

    The latest entries: { version, date, kind, title, description, href }.

  • helpdefault "DOCS_HELP"
    DocsHelpOption[]

    Community, support and status: { icon, title, description, meta, action, href, live? }.

  • searchGroupsdefault "DOCS_SEARCH"
    DocsSearchGroup[]

    What the search palette searches: { label, items: { title, description?, href, keywords? }[] }.

  • popularSearchesdefault "DOCS_POPULAR_SEARCHES"
    string[]

    Chips under the hero search that open it with that query.

  • labelsdefault "DEFAULT_DOCS_HOME_PAGE_LABELS"
    Partial<DocsHomePageLabels>

    Every visible string.

  • searchShortcutdefault "mod+k"
    string

    Opens the search from anywhere and shows on the fields; empty binds nothing.

  • defaultSearchOpendefault false
    boolean

    The search palette starts open.

  • searchOpen
    boolean

    Controlled open state of the search palette.

  • onSearchOpenChange
    (open: boolean) => void

    Called when the palette opens or closes.

  • onSearchSelect
    (item: { title, href, group }) => void

    Called when a result is picked; the page also navigates to its href.

  • defaultLanguagedefault "curl"
    string

    The code tab the API section opens on (a codeSamples value).

  • showQuickStartdefault true
    boolean

    The quick-start cards.

  • showGuidesdefault true
    boolean

    The popular guides.

  • showApidefault true
    boolean

    The API section with code tabs.

  • showSdksdefault true
    boolean

    The SDK tiles built from sdks, each with its install command.

  • showChangelogdefault true
    boolean

    The latest changelog entries.

  • showHelpdefault true
    boolean

    Community, support and status.

  • headerdefault true
    boolean

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

  • footerdefault true
    boolean

    The marketing footer.

  • headerProps
    Partial<MarketingHeaderProps>

    Passed to MarketingHeader (replaces the docs actions when you pass actions).

  • footerProps
    Partial<MarketingFooterProps>

    Passed to MarketingFooter.

  • designdefault "classic"
    "classic" | "minimal"

    The whole page's look. classic follows the layout props on a dotted backdrop; minimal: a transparent header, a soft wash, the copy and search beside a drawn terminal, the starting points as a plain list, guides, SDKs and help as flat rows under hairlines, API facts on soft tiles, no bands, tighter sections and a simple footer. headerProps and footerProps still win.

  • backgrounddefault "dots"
    "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. Without one, a non-neutral tone tints the page.

  • 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.

  • heroBackgrounddefault "none"
    "grid" | "glow" | "none"

    Faint lines, a soft light in the tone, or nothing behind the hero, over the page background. Without one it is grid when background is plain and none otherwise. Applies to the classic design.

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

    Icon tiles, the code tabs and the announcement badge.

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

    The solid buttons (Get an API key, API reference).

  • codeAccentdefault "#F75001"
    string

    The code block theme color.

  • 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 changelog dates.

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

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

  • className
    string

    Classes for the root.

  • classNames
    Partial<Record<DocsHomePageSlot, string>>

    Classes for hero, search, quickStart, guides, api, sdks, changelog and help.

Parts

  • DocsGuideCard

    component

    One guide as a single stretched link: category, reading time, title and summary. Takes article props.

    • guide
      DocsGuide

      The guide.

    • minutes
      (minutes: number) => string

      "6 min".

    • linkComponent
      LinkComponent

      The router link.

  • DocsSdkTile

    component

    An SDK as a letter tile, name, version and a copyable install command; the tile links to the SDK docs. Takes article props.

    • sdk
      DocsSdk

      The SDK.

    • copyLabel
      string

      The copy button's label.

    • linkComponent
      LinkComponent

      The router link.

  • DOCS_NAV

    constant

    The docs header navigation.

  • DOCS_POPULAR_SEARCHES

    constant

    Webhooks, Rate limits, Pagination and OAuth.

  • DOCS_QUICK_START

    constant

    Get started, Guides, API reference and SDKs.

  • DOCS_GUIDES

    constant

    Six popular Acme API guides.

  • DOCS_CODE_SAMPLES

    constant

    Create a task with curl, JavaScript and Python.

  • DOCS_API_FACTS

    constant

    Base URL, auth, rate limit and format.

  • DOCS_SDKS

    constant

    JavaScript, Python, Go, Ruby, PHP and Swift.

  • DOCS_CHANGELOG

    constant

    The three latest API changes.

  • DOCS_HELP

    constant

    Community, Support and Status.

  • DOCS_SEARCH

    constant

    The search index, grouped by section.

  • DEFAULT_DOCS_HOME_PAGE_LABELS

    constant

    The English strings.

  • DocsSearchItemPicked

    type

    { title, href, group }: what onSearchSelect receives.

  • DocsQuickStart

    type

    { icon, title, description, href }.

  • DocsGuide

    type

    { title, description, category, minutes, href }.

  • DocsCodeSample

    type

    { value, label, language, filename, code }.

  • DocsSdk

    type

    { letters, name, install, version, href, color }.

  • DocsChangelogEntry

    type

    { version, date, kind, title, description, href }.

  • DocsHelpOption

    type

    { icon, title, description, meta, action, href, live? }.

  • DocsSearchGroup

    type

    { label, items: DocsSearchItem[] }.

  • DocsSearchItem

    type

    { title, description?, href, keywords? }.

  • DOCS_HOME_PAGE_DESIGNS

    constant

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

  • DocsHomePageProps

    type

    Props of DocsHomePage.

  • DocsHomePageDesign

    type

    "classic" | "minimal".

Examples

Open

Minimal design

design="minimal": the search beside a drawn terminal, flat rows under hairlines, no gray bands and a simple footer.

Open

Search open

The palette open over the page, results grouped by section; type, arrow through and press Enter.

Open

Brand tone, glow

The marketing orange on icon tiles, tabs and buttons, with an orange page glow behind the hero.

Open

Python first, blue code

The API section opens on the Python tab with a blue code theme.

Open

Compact, inside a docs layout

No header or footer, no SDKs or changelog: the landing inside an existing docs shell.

Dependencies

lucide-reactfeature-gridhero-sectionmarketing-footermarketing-headermarketing-sectionbuttoncode-blockcommand-menucopy-buttonnav-menutabsuse-controllable-statenavigationtonesui-config

Files

  • components/templates/docs-home-page.tsx
  • components/templates/docs-home-page-data.ts

FAQ

Is the React Docs Home Page template free?

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

How do I install Docs Home Page?

Run npx wingo-ui@latest add docs-home-page. It also adds the Wingo UI items it builds on (Feature Grid, Hero Section, Marketing Footer, Marketing Header, Marketing Section and 10 more) and the npm package lucide-react. With shadcn, add the @wingo-ui registry with your API key, then run npx shadcn@latest add @wingo-ui/docs-home-page.

How does Docs Home Page behave on phones?

On phones the palette is a full-height sheet. The header keeps Guides as a dropdown and folds into a menu sheet below 1024px; cards stack to one column on phones without sideways scrolling.

See also

Command MenuCode BlockFeature GridHero SectionChangelog Page

New components by email

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

PreviousDevelopers PageNext Download Page