Skip to main content

Claude/ChatGPT Prompt to Build a Calming Mental Health App UI

Build a calming mental health app UI with mood tracking, breathing exercises, journaling, and crisis resources using therapeutically-informed design patterns.

Fill in the placeholders

Edit the values, then copy your finished prompt.

Your Prompt
prompt.txt

                                

What this prompt does

This prompt scaffolds a full mental health app UI across seven distinct output sections — mood check-in through crisis resources — while enforcing therapeutic design guardrails that most generic UI prompts ignore. The template hard-codes an opinionated color system (sage green, lavender, warm beige, sky blue), bans aggressive gamification, and mandates that crisis resources are never buried. That last point matters: a lot of wellness apps hide hotlines behind three taps of navigation, which is a genuine safety failure this prompt explicitly prevents.

The [framework] variable drives real deliverable code for the breathing exercise component — animated circle, timer, and pattern logic — so you get a working artifact, not a wireframe description. The [breathe_pattern] variable lets you specify 4-7-8, box breathing, or any other protocol without rewriting the prompt. The separation between [approach] (CBT, ACT, DBT-informed) and [features] means the design rationale stays coherent — a CBT-informed app should feel different from a somatic-focused one, and this prompt captures that distinction.

When to use it

  • Building an MVP for a therapist-adjacent wellness app targeting a specific demographic (teens, veterans, new parents) — fill [target_audience] precisely.
  • Generating the breathing exercise component for an existing app that lacks one; set [features] to just that module.
  • Creating a design spec to hand off to a developer or pitch to a mental health nonprofit, where you need both rationale and code.
  • Prototyping a crisis-resource flow that must pass clinical review — the anti-patterns list gives reviewers clear design constraints to audit against.
  • Adapting an existing consumer wellness app to a clinical population where gamification is inappropriate.

Example output

For target_audience: "college students experiencing academic stress", framework: "React Native", breathe_pattern: "box breathing (4-4-4-4)":

Mood Check-In Component
— Four emoji options (calm / okay / stressed / overwhelmed) + optional slider
— Prompt: "What's taking up the most space in your head right now?"
— Time-aware greeting: "Good evening, how did today land?"

Breathing Exercise (React Native)
<BreathingCircle
  pattern={{ inhale: 4, hold: 4, exhale: 4, holdEmpty: 4 }}
  cycleCount={4}
  colors={["#A8C5A0", "#C3B1E1"]} // sage to lavender
  animationDuration={300}
/>
// Circle expands on inhale, holds, contracts on exhale
// Ambient option: rain / white noise toggle

Crisis Resources Component
— Persistent floating button: "I need help now" (always visible, never behind navigation)
— Tap opens: local hotline (geo-detected), 988 Suicide & Crisis Lifeline, text-based option
— No login wall. No "are you sure?" confirmation step before showing numbers.
— Background: warm white, not clinical blue — matches app tone rather than alarming with contrast shift

Pro tips

  • Set [target_audience] to a single, specific person ("a 19-year-old first-generation college student") rather than a category — the output specificity jumps significantly.
  • If you use framework: "SwiftUI", explicitly add "use SwiftUI animations, not UIKit" or the model will mix paradigms.
  • The anti-patterns section is load-bearing: if your product owner wants streaks, pass "gentle streaks with no guilt messaging" in [features] so the design intent survives the feature requirement.
  • For clinical deployments, append "include WCAG 2.1 AA contrast ratios" — the soft palette this prompt defaults to can fail contrast checks if a model picks the wrong shade.
  • Pair this with a copywriting prompt using the same [approach] value to keep microcopy (button labels, empty states) tonally consistent with the UI.

Frequently Asked Questions

Does this prompt generate actual working code or just design descriptions?
It generates both. The `[framework]` variable drives a real breathing exercise component — animated circle, timer, and cycle logic — in whichever framework you specify (React Native, SwiftUI, Flutter, etc.). The other six sections (mood check-in, journal, crisis resources, etc.) are design specifications with interaction detail, not code.
Can I use this for a clinical product that will be reviewed by mental health professionals?
The anti-patterns section (no aggressive gamification, no buried crisis resources, no surveillance-feeling tracking) gives reviewers clear design constraints to audit against. You will still need clinical review for content accuracy — this prompt handles UX architecture and code scaffolding, not clinical protocol validation.
What if my target audience needs dark mode support given the soft color palette?
Add `'include dark mode variants using deep navy and muted forest tones — avoid pure black (#000000)'` to your `[features]` list. The default palette is light-mode-optimized; without this instruction most models will simply invert to high-contrast dark, which breaks the therapeutic tone.
Engr Mejba Ahmed

Need this built for real?

Engr Mejba Ahmed

AI Developer · Software Engineer

I'm Mejba — I design and ship production AI systems, automations, and full-stack apps. If you want this turned into a working solution for your team, let's talk.

More in Healthcare UI Prompts

Engr Mejba Ahmed

Engr Mejba Ahmed

Claude Code Expert · Online

👋

Hey there!

Quick Actions

WhatsApp Instant reply

Chat on WhatsApp

+880 1723 741224 · Instant reply

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

[email protected]

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support