Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 13 min read

StyleWeave: Build a Fashion AI App with Expo and TypeScript

This tutorial walks you through building StyleWeave, a cross-platform fashion design and shopping app, using the prompt above from Awesome App Ideas. You will create a personalized style quiz, an AI outfit generator, a c

This tutorial walks you through building StyleWeave, a cross-platform fashion design and shopping app, using the prompt above from Awesome App Ideas. You will create a personalized style quiz, an AI outfit generator, a community photo feed, a tailor locator with map view, and a wardrobe manager, all in Expo with TypeScript.

I will show you which AI tool to paste the prompt into, how to run the output locally, test every feature, fix bugs with follow-up prompts, and deploy it for free. The design uses a soft cream, charcoal, and terracotta palette with Playfair Display and Inter typography for an elegant, accessible experience.

Quick summary

  • Build a complete Expo project with 9 screens and React Navigation
  • Implement AI outfit suggestions with mock data and TypeScript interfaces
  • Add community photo feed with likes, comments, and style tips
  • Create tailor map with booking and in-app messaging
  • Deploy to Netlify or Vercel for free

In this guide

  • What you need
  • The full prompt
  • Step 1: Paste the Prompt into Your AI Builder
  • Step 2: Run the Expo Project Locally
  • Step 3: Test the Onboarding Style Quiz
  • Step 4: Verify the AI Outfit Generator
  • Step 5: Test Photo Share and Community Feed
  • Step 6: Set Up the Tailor Locator Map
  • Step 7: Build the Wardrobe Manager
  • Step 8: Test Occasion-Based Search and Messaging
  • Step 9: Polish Accessibility and Responsive Design
  • Step 10: Fix Bugs with Follow-Up Prompts
  • Step 11: Deploy for Free with Netlify or Vercel
  • Adapt it to your own brand
  • Common mistakes and fixes
  • FAQ

What you need

  • Node.js and npm installed on your machine
  • Expo Go app on your phone or an emulator
  • The full prompt from this page, ready to copy
  • A code editor like VS Code
  • A free Netlify or Vercel account for deployment

The full prompt

Build StyleWeave, a cross-platform mobile app for fashion design and shopping, using React Native with Expo and TypeScript. The app suggests personalized clothing designs and styles based on user body type, interests, occasions, and preferences. Users can share outfit photos for community feedback and discover nearby tailors.

- **Personalized Style Quiz:** Onboarding flow with questions about body shape, skin tone, style preferences (casual, formal, bohemian), and budget. Generates a style profile.
- **AI Outfit Generator:** Based on the profile and selected occasion (work, party, wedding), suggest complete outfits with specific garments, colors, and patterns. Include a "Why this works" explanation.
- **Photo Share & Feedback:** Users upload outfit photos to a feed. Other users can like, comment, and give style tips. Tag items with clothing type.
- **Tailor Locator:** Map view using React Native Maps showing nearby tailors with ratings, specialty (e.g., suits, traditional wear), price range, and "Book Appointment" button.
- **Fashion Feed:** Infinite scroll of community posts, filtered by user's style profile and trending tags.
- **Wardrobe Manager:** Users add clothing items (photo, category, color, season) to a digital wardrobe. The AI uses this to suggest outfits from existing clothes.
- **Occasion-Based Search:** Filter garments by occasion, weather, and formality. Results show mix-and-match combinations.
- **Tailor Profile Page:** Each tailor has a portfolio of previous work, customer reviews, and a chat button to inquire.
- **In-App Messaging:** Simple chat between users and tailors for measurements, fabric choices, and pricing.
- **Favorites & Lookbook:** Save outfits, garments, and tailors to a personal lookbook for quick access.

**Visual Design:** Use a soft, elegant palette: cream (#FDF6F0), deep charcoal (#2B2B2B), and a muted terracotta accent (#C67B5C). Typography is a serif for headings (Playfair Display) and a clean sans-serif for body (Inter). Layout is card-based with generous white space and rounded corners. Use subtle fade and slide animations for screen transitions, and a spring animation for like buttons.

**User Flows:** First-time users complete the quiz, then land on the Home Feed. Tapping "Generate" opens the outfit generator. Sharing a photo requires adding a caption and selecting garments from the wardrobe. Tailor map is accessible from the bottom navigation.

**Data & State:** Use React Context for user profile and wardrobe state. AsyncStorage for local persistence. Mock API calls for AI suggestions and tailor data, structured with TypeScript interfaces.

**Responsive & Accessibility:** Support both iOS and Android with safe area insets. Use dynamic font scaling and minimum touch targets of 44px. Provide alt text for all images and high contrast for text.

**Output:** Deliver a complete Expo project folder with `App.tsx`, `src/` (components, screens, context, data, types), `assets/`, and `package.json`. Include `README.md` with `npx expo start` instructions and a list of dependencies (expo, react-native-maps, async-storage, react-navigation).

1Paste the Prompt into Your AI Builder

Open your preferred AI coding tool. For this project, I recommend Cursor or Lovable because they handle multi-file Expo projects well. Copy the full prompt from the block above this tutorial and paste it into the chat. The prompt is structured as a complete product specification, so the AI has everything it needs: screens, user flows, data models, visual design, and accessibility requirements.

If you use Cursor, create a new folder and open it, then paste the prompt in the chat. For Lovable or Bolt, start a new project and paste the prompt as your initial message. The AI will generate a project structure with App.tsx, a src/ directory, and a package.json. Give it a moment to produce the full scaffold before you ask for changes.

AI coding assistant generating the Fashion Design And Shopping App code*Pro tip:* If the AI asks for clarification, tell it to follow the prompt exactly and use mock data for AI suggestions.

2Run the Expo Project Locally

Once the AI generates the project, you need to run it locally. Open your terminal, navigate to the project folder, and run npm install to install dependencies. Then run npx expo start. This starts the Metro bundler. Scan the QR code with the Expo Go app on your phone, or press a for an Android emulator or i for iOS simulator.

If you see errors about missing packages, install them manually. The prompt specifies expo, react-native-maps, async-storage, and react-navigation. Run npx expo install react-native-maps @react-native-async-storage/async-storage @react-navigation/native @react-navigation/bottom-tabs to add them. Check the terminal for any red error messages and fix them before testing features.

Fashion Design And Shopping App main app screens*Pro tip:* Use npx expo install instead of npm install for React Native packages to get compatible versions.

3Test the Onboarding Style Quiz

The first screen should be the personalized style quiz. It asks about body shape, skin tone, style preferences, and budget. Test that each question appears and that you can select an answer. Check that the progress bar or step indicator moves correctly. After the last question, the app should generate a style profile and navigate to the Home Feed.

If the quiz doesn't advance, check the state management in the context folder. The prompt specifies React Context for user profile state. Look for a ProfileContext.tsx file and verify that the setProfile function updates correctly. Test edge cases like skipping a question or going back. The quiz should feel smooth and not crash on rapid taps.

Pro tip: Test the quiz on both iOS and Android to ensure touch targets are at least 44px as specified.

4Verify the AI Outfit Generator

Tap the Generate button in the bottom navigation. This opens the outfit generator. Select an occasion like work, party, or wedding. The app should suggest complete outfits with specific garments, colors, and patterns, plus a Why this works explanation. The prompt says to use mock API calls for AI suggestions, so the data comes from a local file.

Check that the suggestions change when you pick a different occasion. Verify the color palette matches the design spec: cream background, charcoal text, terracotta accents. If the outfit cards look cramped, adjust the padding in the component. Test that the spring animation works when you tap the like button. If animations are too fast or slow, tweak the spring config in the animation code.

Pro tip: Make sure the outfit suggestions reference the user's style profile from the quiz for personalization.

5Test Photo Share and Community Feed

The fashion feed shows community posts with infinite scroll. Test that you can scroll through multiple posts. Tap on a post to like it and add a comment. The like button should have a spring animation. Try adding a style tip as a comment. Check that the feed filters by the user's style profile and trending tags.

To share a photo, tap the upload button. You should be able to add a caption and select garments from your wardrobe. If the wardrobe is empty, add items first. Test that the photo appears in the feed after posting. If the feed doesn't filter correctly, check the filter logic in the feed screen. The prompt specifies trending tags, so verify those update based on user activity.

Pro tip: Test the feed with multiple mock posts to ensure infinite scroll doesn't duplicate items.

6Set Up the Tailor Locator Map

The tailor locator is a map view using React Native Maps. Open it from the bottom navigation. The map should show nearby tailors with pins. Tap a pin to see the tailor's name, rating, specialty, and price range. There should be a Book Appointment button that opens a booking flow.

If the map doesn't load, check your API key for the map service. For testing, you can use mock coordinates. Verify that the tailor list below the map updates when you move the map region. Test the specialty filter, like suits or traditional wear. The tailor profile page should show a portfolio of previous work, customer reviews, and a chat button. Make sure the chat button opens the messaging screen.

Pro tip: Use mock coordinates for testing since real map data requires an API key and network access.

7Build the Wardrobe Manager

The wardrobe manager lets users add clothing items with a photo, category, color, and season. Test adding a few items. The AI should use these items to suggest outfits from existing clothes. Open the wardrobe screen and tap the add button. Select a photo from your device, choose a category like top or bottom, pick a color, and select a season.

Verify that the items appear in a grid or list. Test that you can edit or delete an item. The wardrobe state should persist after closing the app, so check that AsyncStorage saves the data. The prompt specifies that the AI uses the wardrobe for outfit suggestions, so test that the generator now includes items from your wardrobe in its suggestions.

Pro tip: Test persistence by adding an item, closing the app, and reopening it to see if the item is still there.

8Test Occasion-Based Search and Messaging

The occasion-based search lets users filter garments by occasion, weather, and formality. Test that you can select filters and see matching results. The results should show mix-and-match combinations. Try filtering by work and formal to see if the results change appropriately. Check that the search screen is accessible with clear labels and high contrast text.

Next, test the in-app messaging. Open a tailor's profile and tap the chat button. Send a message about measurements, fabric choices, or pricing. The chat should feel responsive with message bubbles. If messages don't send, check the mock API for the chat. The prompt specifies simple chat between users and tailors, so a local state-based chat is fine for this build.

Pro tip: Test the search with different filter combinations to ensure the results update instantly.

9Polish Accessibility and Responsive Design

The prompt requires safe area insets, dynamic font scaling, and minimum touch targets of 44px. Test the app on different screen sizes. On iPhones with a notch, check that content isn't hidden. Use SafeAreaView from React Native or the useSafeAreaInsets hook from React Navigation.

Enable dynamic font scaling in your device settings and check that text doesn't overlap. Add allowFontScaling to Text components if needed. Verify that all images have alt text and that text contrast meets WCAG standards. The cream background with charcoal text should pass contrast checks. Test the app in dark mode to see if the palette still works, and adjust if necessary.

Pro tip: Use the accessibility inspector in your browser or device to check touch target sizes.

10Fix Bugs with Follow-Up Prompts

After testing, you will likely find bugs. Use follow-up prompts to fix them. For example, if the map doesn't load, paste: Fix the tailor map to show mock pins without a real API key. If the quiz doesn't save the profile, paste: Update the quiz to save the profile to AsyncStorage and load it on app start.

Be specific in your follow-up prompts. Mention the screen, the expected behavior, and the actual behavior. The AI will generate a patch or updated file. Test again after each fix. Common issues include navigation state not persisting, animations being janky, and filter logic not working. Address these one at a time to avoid introducing new bugs.

Pro tip: Keep a list of bugs you find and fix them in batches to save time.

11Deploy for Free with Netlify or Vercel

To deploy your Expo app for free, you can use Netlify or Vercel. First, build the web version of your app. Run npx expo export --platform web to create a dist/ folder. Then drag and drop this folder into Netlify or use the Vercel CLI to deploy.

For Netlify, go to your dashboard, click Add new site, and select Deploy manually. Drag the dist/ folder. For Vercel, run vercel in your project root and follow the prompts. Your app will be live at a free URL. Note that the mobile features like the map and camera may not work perfectly on web, but the core screens and navigation will. Share the URL with others to get feedback on the design and flow.

Pro tip: Test the deployed web version to ensure the feed and quiz work in a browser.

Adapt it to your own brand

  • Replace the fashion theme with a fitness app that suggests workout routines based on body type and goals
  • Change the color palette to match your brand, keeping the cream and charcoal for contrast and the accent color for CTAs
  • Swap the tailor locator for a service provider locator, like hairstylists or makeup artists
  • Add a real AI backend by connecting the outfit generator to an API like OpenAI or a custom model
  • Change the quiz questions to collect different data, like fitness level or dietary preferences
  • Add social login with Google or Apple to save user profiles and wardrobes to the cloud
  • Integrate a real e-commerce checkout for purchasing suggested outfits

Common mistakes and fixes

  • Forgetting to install react-native-maps with npx expo install, causing a version mismatch
  • Hardcoding navigation routes instead of using React Navigation's type-safe navigation
  • Not testing on both iOS and Android, leading to safe area and touch target issues
  • Ignoring AsyncStorage for persistence and losing wardrobe data on app restart
  • Using a real API key for maps during development, which can hit rate limits
  • Skipping the accessibility pass and failing contrast or font scaling checks

Frequently asked questions

Can I use this prompt in Lovable or Bolt?

Yes, the prompt works in Lovable and Bolt, but they may not handle multi-file Expo projects as well as Cursor. Paste the prompt and check the generated file structure. You may need to manually create missing files.

How do I add real AI suggestions instead of mock data?

Replace the mock API calls in the data folder with real API calls to a service like OpenAI. Create a backend function that takes the style profile and occasion, then returns outfit suggestions. Update the TypeScript interfaces to match the response.

Why does the map not show real locations?

The prompt specifies mock API calls for tailor data. To show real locations, you need a maps API key and real tailor data. For development, use mock coordinates and add a comment in the code explaining where to plug in real data.

How do I test the app on my phone?

Install the Expo Go app from the App Store or Google Play. Run npx expo start and scan the QR code with your phone. Ensure your phone and computer are on the same Wi-Fi network.

Final thoughts

You now have a working StyleWeave fashion app with a style quiz, AI outfit generator, community feed, tailor map, wardrobe manager, and messaging. The design follows the cream, charcoal, and terracotta palette with accessible typography and touch targets. Copy the prompt above and build your own version, then customize it for fitness, beauty, or any other personal styling niche. Deploy it for free and share your creation with the world.

Credit

The project idea behind this prompt comes from Fashion Design And Shopping App on Awesome App Ideas. The build prompt, tutorial and images were created by Prompt Grabber.

Originally published on Prompt Grabber. Explore 180,000+ free AI prompts at promptgrabber.com/prompts.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.