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

Blocks

Mobile App Home

Blocks

Mobile App Home React block for Tailwind CSS v4

Marketplace ShellOnboarding Flow
Live props
Content
title
subtitle
notificationsCount
messagesCount
State
defaultTab
defaultStory
loading
Layout
showStories
showQuickActions
showRecommended
recommendedCount
tabBar
desktop
Behavior
pullToRefresh
refreshShortcut
pageSize
animateIn
locale
currency
Appearance
tabBarVariant
tone
Code
import { MobileAppHome } from "@/components/blocks/mobile-app-home"

<MobileAppHome />
  1. Home
  2. Components
  3. Blocks
  4. Mobile App Home
Pro

Mobile App Home React block for Tailwind CSS v4

v1.1.0·Updated in 1.3.0

A React mobile app home screen for a marketplace: large title, search, stories, quick actions, recommended ads, feed tabs and a tab bar.

Scroll and the large title "Home" hands over to a compact glass bar; the feed tabs stick under it. Pull down at the top (touch, or a trackpad scroll up) and the iOS spinner refreshes "For you" with a haptic tick and a fade. Tap the search field: the page swaps to your recent searches (tap one to search it again, x removes it, Clear all clears them), typing filters every ad by title and place, Enter saves the query and calls onSearch, Cancel or Escape closes the search. Tap a story circle to open its full-height sheet with three new ads and See all; the ring turns gray once seen (drag the handle down, tap outside, the close button or Escape to close). Quick action tiles and the bell are links with count badges. Recommended ads sit in a 2-column grid: Show more reveals the next row in place, See all opens the full list, and a heart saves an ad (shared between the grid and the feed). Switch For you, Nearby and Following by tapping, swiping the list sideways or with the arrow keys on the tabs; Load more shows the next page. The bottom tab bar hides while you scroll down and comes back on scroll up; Search focuses the search, Home scrolls back to the top and the raised Post button posts an ad. On a desktop the app is a centered 440px column on a gray backdrop.

Mobile App Home is a Pro React block in the React blocks category, written in TypeScript for React 19 and Tailwind CSS v4. It installs as source with npx wingo-ui@latest add mobile-app-home, together with Avatar, Badge, Bottom Tab Bar, Button, Drawer and 18 more and the npm packages motion and lucide-react.

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 mobile-app-home

Mobile App Home 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

Usage

Import MobileAppHome from @/components/blocks/mobile-app-home.

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

import Link from "next/link"
import { useRouter } from "next/navigation"
import { MobileAppHome } from "@/components/blocks/mobile-app-home"

export default function HomePage() {
  const router = useRouter()
  return (
    <MobileAppHome
      linkComponent={Link}
      subtitle="Hi, Emma"
      notificationsCount={3}
      messagesCount={2}
      onSearch={(query) => router.push(`/search?q=${encodeURIComponent(query)}`)}
      onRefresh={() => router.refresh()}
    />
  )
}

Props

  • titledefault "Home"
    ReactNode

    The large title; it shrinks into the bar as you scroll.

  • subtitledefault "Hi, Emma"
    ReactNode

    The line under the large title.

  • stories
    AppStory[]

    Story circles { id, label, image?, icon?, seen?, href?, description?, ring?, listings? }; [] hides the rail. Defaults to MOBILE_APP_HOME_SAMPLE.stories (Deals, Bikes, Phones, Homes, Daniel Reed, Greenleaf).

  • quickActions
    AppQuickAction[]

    Up to 8 tiles { id, label, icon, href?, badge?, onSelect? } in a 4-column grid; [] hides them. Defaults to Post an ad, Favorites (4), Saved searches (2), My orders.

  • recommended
    ListingData[]

    The 2-column grid of ad cards; [] hides it. Defaults to MOBILE_APP_HOME_SAMPLE.recommended (the 8 canonical ads).

  • feeds
    Partial<Record<"for-you" | "nearby" | "following", ListingData[]>>

    The ads of each tab, merged over MOBILE_APP_HOME_SAMPLE.feeds (20 each); an empty array shows the tab's empty state.

  • recentSearches
    AppRecentSearch[]

    { id, query } rows shown while the search is open; defaults to MOBILE_APP_HOME_SAMPLE.recentSearches.

  • user
    { name: string; avatar?: string }

    The signed-in person shown as the avatar in the header; defaults to Emma Carter.

  • hrefs
    Partial<MobileAppHomeHrefs>

    Where the bell, avatar, Messages, Post, See all and the empty state's action go (notifications, account, messages, add, recommended, discover).

  • labels
    Partial<MobileAppHomeLabels>

    Every visible string (Romanian by default, DEFAULT_MOBILE_APP_HOME_LABELS); MOBILE_APP_HOME_LABELS_EN is the English set. Nested listingCard, pullToRefresh, swipeableTabs and list pass strings to the composed items.

  • tab
    "for-you" | "nearby" | "following"

    Controlled feed tab; pair it with onTabChange.

  • defaultTabdefault "for-you"
    "for-you" | "nearby" | "following"

    The feed tab the screen opens on while uncontrolled.

  • onTabChange
    (tab: MobileAppHomeTab) => void

    Called when a tab is tapped or swiped to.

  • defaultStorydefault ""
    string

    The id of a story whose sheet is open on mount; empty for none.

  • notificationsCountdefault 3
    number

    The count on the bell; 0 hides the badge.

  • messagesCountdefault 2
    number

    The count on the Mesaje tab; 0 hides it.

  • showStoriesdefault true
    boolean

    The story circles rail.

  • showQuickActionsdefault true
    boolean

    The grid of quick action tiles.

  • showRecommendeddefault true
    boolean

    The recommended ads grid.

  • recommendedCountdefault 4
    number

    Recommended ads shown at first; Show more adds this many again until all are shown.

  • pullToRefreshdefault true
    boolean

    Pull down at the top to refresh the feed (off while searching or loading).

  • refreshShortcutdefault ""
    string

    A key combo in mod+k notation that refreshes the feed like a pull; none by default.

  • tabBardefault true
    boolean

    The bottom tab bar with the raised Post action.

  • tabBarVariantdefault "bar"
    "bar" | "floating"

    A full-width glass bar on the bottom edge, or a floating glass pill.

  • desktopdefault "column"
    "column" | "full"

    column: from 768px the app is a centered 440px column on a gray backdrop. full: it stretches (a real PWA on a tablet).

  • pageSizedefault 8
    number

    Ads per page of a feed; Load more shows the next page.

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

    Unseen story rings, the active tab, the tab bar's active color and raised action, and the text actions.

  • loadingdefault false
    boolean

    Skeleton story circles, tiles, cards and rows in the real layout.

  • animateIndefault true
    boolean

    Sections rise in once on mount; off in thumbnails and under reduced motion.

  • localedefault "en-US"
    string

    Intl locale for prices, distances, times and counts.

  • currencydefault "USD"
    string

    The currency of ads that do not set their own.

  • nowdefault "useNow()"
    Date | number

    The clock for "Today at 2:32 PM"; pass it for stable renders (the demo uses Sep 24, 2026 4:40 PM).

  • onRefresh
    () => (void | Promise<unknown>)

    The pull to refresh; the spinner runs until it settles. Without it the feed reshuffles after 1,2 s.

  • onSearch
    (query: string) => void

    Enter in the search field; the query is also added to the recent searches.

  • onStoryOpen
    (story: AppStory) => void

    A story circle was tapped (its sheet opens and it turns seen).

  • onFavoriteChange
    (listing: ListingData, favorite: boolean) => (void | Promise<unknown>)

    A heart was toggled; a rejected promise rolls it back.

  • onLoadMore
    (tab: MobileAppHomeTab) => (void | Promise<unknown>)

    Load more; the button spins until it settles, then the next page shows. Simulated (900 ms) without it.

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

    The router link for every link on the screen (next/link in an app).

  • className
    string

    Classes for the app column.

  • classNames
    Partial<Record<MobileAppHomeSlot, string>>

    Classes for backdrop, header, search, stories, story, actions, recommended, feed and tabBar.

Parts

  • mobileAppHomeContent

    function

    Maps a sample (stories and quick actions with icon names) to the block's props with real icons. Spread its result on MobileAppHome.

  • DEFAULT_MOBILE_APP_HOME_LABELS

    constant

    Every English string of the home screen: title, search, sections, feed tabs, tab bar and refresh. Spread it and override what you translate.

  • MOBILE_APP_HOME_LABELS_EN

    constant

    An alias of DEFAULT_MOBILE_APP_HOME_LABELS, kept so older imports keep working.

  • createMobileAppHomeSample

    function

    Builds the demo content: stories, quick actions, recommended ads, the For you, Nearby and Following feeds, recent searches and badge counts.

  • MOBILE_APP_HOME_SAMPLE

    constant

    The demo content built once by createMobileAppHomeSample. Replace it with data from your API.

  • MOBILE_APP_HOME_SAMPLE_EN

    constant

    The same demo content under its older name, kept so existing imports keep working.

  • shuffleFeed

    function

    Reorders a feed in a stable way per round, so pull to refresh shows new items in the same order on every device.

  • mulberry32

    function

    A tiny seeded random number generator, so the sample is the same on the server and the client.

  • MOBILE_APP_HOME_NOW

    constant

    The fixed "now" of the sample (September 24, 2026, 4:40 PM) that ad ages are measured from.

Examples

Open

Nearby

Opens on the Nearby tab: ads around the Pearl District, closest first, with their distance.

Open

A story open

The Bikes story sheet, full height: three new ads and a See all action.

Open

Floating tab bar, brand

tabBarVariant floating with tone brand: story rings, tabs, the raised action and the links in orange.

Open

Loading

Skeleton story circles, action tiles, cards and rows in the real layout.

Open

Empty following tab

No followed sellers yet: the Following tab shows its empty state with one action.

Open

British English

Locale en-GB with prices in euro: dates, distances and counts follow the locale.

Dependencies

motionlucide-reactavatarbadgebottom-tab-barbuttondrawerempty-statefavorite-buttonlarge-title-headerlistlisting-cardpricepull-to-refreshskeletonswipeable-tabsuse-controllable-statehapticsmotionnavigationnumber-formatrelative-timetext-matchtonesui-config

Files

  • components/blocks/mobile-app-home.tsx
  • components/blocks/mobile-app-home-data.ts

FAQ

Is the React Mobile App Home block free?

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

How do I install Mobile App Home?

Run npx wingo-ui@latest add mobile-app-home. It also adds the Wingo UI items it builds on (Avatar, Badge, Bottom Tab Bar, Button, Drawer and 18 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/mobile-app-home.

See also

Large Title HeaderBottom Tab BarPull To RefreshSwipeable TabsListing cardDrawer

More React blocks

Admin Dashboard PageAdmin ShellAI Chat PageAPI Keys PageAutomation Builder PageCheckout Page
All 26 React blocks

Articles using this component

  • Nextjs PWA Without next-pwa: Offline Page and App Shell

    Mobile UI in React · Nov 5, 2026 · 12 min read

PreviousMarketplace ShellNext Onboarding Flow