Mobile UX & share links

Design thumb-friendly mobile apps with bottom navigation, comfortable tap targets, shareable links that open cleanly on phones, and calm offline states.

Designing for thumbs instead of cursors

Desktop software assumes a precision mouse pointer, wide horizontal space, hover tooltips, and fast office broadband. Mobile customers use your app one-handed while walking, tap without hover feedback, bounce between messaging apps, and regularly hit weak cellular signals or elevator Wi-Fi drops.

Simply shrinking a desktop layout to 390 pixels rarely feels natural on a phone. Prioritizing thumb-zone navigation, predictable deep links, and calm network recovery turns an ordinary responsive site into an app people genuinely enjoy opening every day on Android and iPhone.

Core mobile ergonomics and layout standards

Apply these six concrete ergonomics thresholds across every screen below 768px so interactions feel effortless on Pixel, Galaxy, iPhone, and foldable screens.

Ergonomic elementMobile standardWhy it prevents friction
Tap target sizeMinimum 44×44 px (ideally 48×48 px) with 8 px gapsStops mis-taps on close icons, checkboxes, filters, and quantity steppers
Primary navigationSticky bottom tab bar with 3 to 5 clear tabsKeeps top-level destinations inside the natural one-handed thumb arc
Form inputsMinimum 16 px font size, single column, explicit inputModePrevents iOS Safari auto-zoom and opens numeric or email keyboards immediately
Action containersBottom sheets instead of centered desktop modalsPlaces confirmation buttons and filters within easy thumb reach
Viewport height100dvh with env(safe-area-inset-bottom) paddingPrevents collapsing browser toolbars and gesture bars from hiding submit CTAs
No hover-only actionsAlways show edit, delete, or share triggers directlyTouchscreens have no hover state; hidden hover icons disappear on phones

Bottom tab bars vs hamburger menus

Hamburger menus hide core features behind an extra tap in the hardest corner to reach with one thumb. Reserve the top header for the page title, back arrow, and one contextual button — and place 3 to 5 primary destinations (such as Home, Book, Orders, Account) inside a sticky bottom bar.

Keep every tab label to one word under a clean icon, highlight the active route clearly, and add bottom scroll padding so the last list card never sits behind the bar.

Smart mobile keyboards and checkout friction

Every unnecessary keyboard switch costs mobile conversions. Ask the Agent to annotate form fields with semantic HTML attributes so Android and iPhone automatically present the right keyboard:

  • type="email" and autocomplete="email" for sign-in and receipts.
  • type="tel" and inputmode="tel" for phone numbers and SMS booking contacts.
  • inputmode="numeric" for postal codes, verification pins, and seat counts.
  • inputmode="decimal" for currency amounts, weights, or measurements.

Word-of-mouth growth on mobile happens through shared links dropped into WhatsApp, iMessage, SMS, Slack, and Instagram DMs. If every view lives at / in temporary client state, sharing a link dumps the recipient onto a generic landing page instead of the exact class, product, or invite they expected.

URL architecture that survives refreshes and deep opens

Give every shareable entity a stable, readable route on your live domain (Custom domains, DNS & SSL), and pair protected routes with an auth-preserving return parameter so sign-in never loses the user's destination.

text
# Clean public shareable routes
https://courtside.app/clubs/austin-east
https://courtside.app/classes/saturday-morning-drill
https://courtside.app/invite/match-8492

# Auth-preserving deep link flow for private screens
1. Friend opens:   https://courtside.app/bookings/ord_4921
2. Not signed in:  Redirect to /login?next=%2Fbookings%2Ford_4921
3. Sign-in passes: Return directly to /bookings/ord_4921

Make sharing feel native with two small additions:

  • Web Share API with clipboard fallback. When a mobile user taps Share, invoke navigator.share({ title, text, url }) so iOS and Android open the native system share sheet immediately. On desktop browsers that omit Web Share, copy the clean URL to the clipboard and show a crisp "Link copied" toast.
  • Per-route Open Graph metadata. Populate clean og:title, og:description, and a 1200×630 og:image for key public pages so shared links display a sharp preview card inside messaging apps instead of a bare URL. Review SEO & AI search for complete metadata practices.

Use this prompt to run a comprehensive mobile ergonomics and deep-link upgrade across your app:

Starter prompt · App

Upgrade my app's mobile UX and shareable link flow: replace the mobile hamburger menu with a sticky 4-tab bottom navigation bar (Explore, Bookings, Saved, Account) with safe-area bottom padding, enforce minimum 44x44px tap targets and 16px keyboard-aware inputs across all forms, convert desktop filter modals into mobile bottom sheets, give every listing and booking its own clean route with a native Web Share button (falling back to Copy link with toast), and preserve the destination URL with a ?next= redirect across sign-in.

Resilient loading, empty, and slow-network states

Fast office Wi-Fi hides network friction that real phone users hit daily. Designing four deliberate fallback states prevents blank white screens, duplicate Stripe orders, and lost form entries on patchy connections.

  • Layout-matched skeleton loaders. Render soft placeholder blocks matching your real cards while data loads instead of jarring full-screen spinners that shift the page layout once rows arrive.
  • Actionable empty states. Never leave a blank canvas when a list has zero items. Explain clearly why the view is empty and provide one direct button (for example "No upcoming bookings yet — Browse available courts").
  • Double-tap submit protection. Immediately switch submit and checkout buttons into a disabled pending state ("Confirming...") on the first tap so impatient double-taps on slow cellular connections never create duplicate bookings or charges.
  • Calm offline banner with retry. Listen for browser offline events and failed network fetches, display a compact top strip ("You appear offline — Check your connection") with a Retry action, and keep unsaved form inputs intact so users never retype their details.

Add defensive network states cleanly with one targeted prompt:

Starter prompt · App

Harden mobile network resilience across my app: replace full-screen loading spinners with card-matched skeleton placeholders, add helpful empty states with clear primary actions on every list screen, disable all submit and booking buttons immediately while requests are in flight to prevent duplicate taps, and add a calm non-blocking offline/network error strip with a Retry button that preserves form inputs until submission succeeds.

  1. Inspect breakpoints in Device Lab

    Open Browser Device Lab across Pixel, iPhone, folded cover, and unfolded foldable profiles to catch clipped buttons or horizontal overflow.

  2. Test one-handed ergonomics

    Open your published URL on a physical phone and complete your core flow using one thumb, checking keyboards and bottom-sheet reachability.

  3. Share a deep link in messaging

    Tap Share, send the link to yourself in WhatsApp or iMessage, verify the Open Graph card, and confirm ?next= returns cleanly after sign-in.

  4. Simulate dropped connections

    Toggle Airplane Mode briefly while loading a list and submitting a form, then reconnect and verify Retry recovers without clearing inputs.

SymptomLikely causeFix
Shared deep link shows 404 on reloadClient-side route lacks proper fallback routing or malformed dynamic IDEnsure your Live routes resolve directly on refresh and render a friendly "Not found" screen with a home link
Login redirects to `/` instead of the shared pageAuth callback discards the original destination pathPass and validate a safe internal ?next= query parameter across sign-in; see Authentication & roles
Duplicate bookings created on cellular dataSubmit button remains clickable while first request is pendingDisable the button immediately on submit and enforce server-side idempotency on checkout or booking routes
Mobile keyboard covers the bottom inputFixed full-height container blocks natural viewport scrollUse 100dvh with scrollable inner form containers and verify keyboard focus on a real phone
Social preview card shows stale title or imageMessaging apps aggressively cache Open Graph tags per URLVerify updated og:title and og:image on your published Live site and test with a fresh URL parameter

Next steps

Still have a question?Ask our team and other builders on Discord.

From the blog