Skip to content

Dating App Sign Up with Photo Upload

Dating app sign up screen with first name, birthday age check, a six-slot photo upload grid with previews and a step progress bar for profile onboarding.

Also known as: dating app signup screen, dating profile creation ui, photo upload grid, profile onboarding screen, dating app ui kit

Dating App Sign Up with Photo Upload live demo

Open in new tab

Tailwind CSS code (HTML, CSS, JS)

A dating app sign up screen built with Tailwind CSS: step two of a profile onboarding flow with a first name field, a birthday with a live age check, a six-slot photo upload grid with instant previews and a progress bar. It is an HTML mobile template for mobile websites and PWAs and can be packaged as a native app with Capacitor. Use it as the profile creation UI of a dating, friendship or social discovery app.

How it works

The root .dsu-app is a phone-width column with a sticky top app bar (back button, step label, help button and the [data-dsu-progress] bar), a scrolling form and a sticky .dsu-actions bar with the Continue button.

The birthday uses three numeric fields marked data-dsu-bday (month, day, year) with bday-month, bday-day and bday-year autocomplete. Typing a full part moves focus to the next field and Backspace in an empty field moves back. ageFrom() in script.js rejects impossible or future dates and calculates the age from today, so the message under the fields says "You're 27" or explains that members must be MIN_AGE or older.

The photo grid .dsu-grid has six [data-dsu-slot] items; the first, .dsu-slot--main, spans two rows and carries the Main badge. Each empty slot is a label around a hidden type="file" input. When a file is chosen, the script creates a preview with URL.createObjectURL(), adds it to the photos array and renderPhotos() redraws the grid. Remove buttons ([data-dsu-remove]) take a photo out and the remaining photos move up, so the main slot is never empty while photos exist.

On submit the script validates the name, birthday and photo count (MIN_PHOTOS), shows inline messages and focuses the first problem. A valid form runs a short simulated save, shows the success panel and moves the progress to step 3. The help button opens #dsu-help, a native <dialog> styled as a bottom sheet with photo tips.

Customization

  • --dsu-accent, --dsu-accent-dark and --dsu-accent-soft on .dsu-app in style.css: the rose brand colour of buttons, focus rings, progress and empty photo slots.
  • --dsu-radius in style.css: corner radius of the photo tiles (20px by default).
  • MIN_AGE in script.js: the minimum age required to join.
  • MIN_PHOTOS in script.js: how many photos are needed before Continue works; also update the hint text under Photos.
  • TOTAL_STEPS in script.js: the number of onboarding steps shown in the label and progress bar.
  • grid-auto-rows in .dsu-grid: the height of each photo row.
  • Replace the setTimeout in the submit handler with fetch() and FormData to upload the files to your API.

Use cases

  • Dating apps: the profile step after phone or email verification.
  • Friendship and community apps: name, age and photos for a new member profile.
  • Event and social discovery PWAs: quick profile setup with an age gate.
  • Creator or marketplace apps that need a profile photo before going live.

Accessibility

Every field has a label, the birthday is a fieldset with a legend, and messages are linked with aria-describedby and aria-invalid. Add tiles are real file inputs with "Add photo 2" style labels and a visible focus ring; remove buttons have their own labels and are 44 px touch targets. Photo changes, step changes and errors are announced through a polite live region. The bottom sheet closes with Escape, the backdrop or the Got it button and returns focus to the help button. The sample portrait comes from Unsplash; replace it with your own image.

Dating App Sign Up with Photo Upload at a glance

Framework
Tailwind CSS
Code
HTML, CSS, JavaScript
JavaScript
Vanilla JavaScript, no jQuery
Dependencies
Tailwind CSS, fonts.googleapis.com, Bootstrap Icons
Layout
Mobile-first app screen, centred on wider screens
Category
Mobile Login & Sign Up
License
Free for personal and commercial use

Questions about this template

Can I use the Dating App Sign Up with Photo Upload code for free?

Yes. You can copy or download the code and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.

How do I add it to my website?

Load Tailwind CSS and fonts.googleapis.com and Bootstrap Icons from a CDN (the links are under Requirements). Paste the HTML where the component should appear, add the CSS to your stylesheet and load the JavaScript before the closing </body> tag. Download HTML gives you a complete page with everything already linked.

Does it need jQuery or a JavaScript framework?

No. The script is plain vanilla JavaScript, so it works without jQuery, React or Vue. You can still use the markup inside those frameworks.

Can I turn this screen into an iOS or Android app?

Yes. It is plain HTML, CSS and JavaScript, so it works in a mobile website or progressive web app as it is. To ship it as a store app, put it in the web folder of a Capacitor or Cordova project and build it for iOS and Android; replace the sample data with calls to your own API.

How does it look on a desktop screen?

The screen is designed for phones. On wider screens it stays at phone width in the middle of the page, so it still looks like an app. The live demo opens at mobile width; use the Tablet and Desktop buttons to check other sizes.

Requirements

Add these to your page (already included in the download):

  • <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
  • <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap">
  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">

The Tailwind browser build is for prototyping. In production, compile Tailwind with its CLI or your bundler.

Dating App Sign Up with Photo Upload – free Tailwind CSS mobile login & sign up template
Dating App Sign Up with Photo Upload · free Tailwind CSS mobile login & sign up template

More Mobile Login & Sign Up

Workspace App Sign In with SSO – free Bootstrap 6 mobile login & sign up template

Workspace App Sign In with SSO

Workspace app sign in screen that asks for a work email first, then shows a single sign-on button or a password field based on the domain: an SSO login UI for team apps.

Kids Learning App Parent Login – free Pure CSS mobile login & sign up template

Kids Learning App Parent Login

Kids learning app parent login screen with a maths parent gate that unlocks the email and password sign-in form, plus a password reset bottom sheet.

Banking App Login with Biometric Option – free Bootstrap 6 mobile login & sign up template

Banking App Login with Biometric Option

Banking app login screen with a 6-digit PIN keypad, simulated Face ID and fingerprint sign-in, forgot PIN sheet and account switcher: a secure mobile bank PIN login UI.

Passwordless Magic Link Login – free Pure CSS mobile login & sign up template

Passwordless Magic Link Login

Passwordless magic link login screen for mobile apps: email-only sign in that switches to a check-your-inbox state with an open mail app button and resend countdown.

Forgot Password Flow Screens – free Tailwind CSS mobile login & sign up template

Forgot Password Flow Screens

Forgot password flow screens for mobile apps: email step, 6-digit verification code, new password with strength rules and confirmation, then a success state.