Skip to content

P-r-e-m-i-u-m/ui-prompt-library

Repository files navigation

🎨 UI Prompt Library

License: MIT PRs Welcome Prompts Validate Prompts

A curated, open-source collection of production-grade UI prompts for building landing pages, SaaS dashboards, and components β€” using React, Tailwind CSS, shadcn/ui, and Framer Motion.

Copy a prompt β†’ paste into Claude or GPT β†’ get a fully working page.


πŸ“¦ What's Inside

Category Prompts Stack
SaaS Landing Pages 3 prompts β€” hero sections, full pages React + Vite + Tailwind + shadcn/ui
Components 2 prompts β€” navbar, cards Tailwind + Framer Motion
Templates Blank prompt skeleton Any stack

πŸš€ How to Use

Option A β€” Use with Claude (recommended)

  1. Open claude.ai
  2. Copy any .md prompt file from this repo
  3. Paste it and say: "Build this exactly as specified"
  4. Claude generates the full code

Option B β€” Use with ChatGPT

  1. Copy the prompt
  2. Start with: "You are an expert React developer. Build the following UI exactly:"
  3. Paste the prompt

Option C β€” Use with Cursor / Windsurf

  1. Open your project
  2. Press Ctrl+K or open AI chat
  3. Paste the prompt directly

🧠 How to Write Your Own Prompt (The System)

The secret: every design decision becomes a prompt line.

Step 1 β€” Find a UI you like

Screenshot any landing page, SaaS app, or component.

Step 2 β€” Break it into layers

Stack β†’ Design Tokens β†’ Assets β†’ Sections β†’ Animations

Step 3 β€” Use the template

Copy templates/PROMPT_TEMPLATE.md and fill it in.

Step 4 β€” Be exact, not vague

❌ "Make a big heading"
βœ… text-[80px] font-medium tracking-[-0.04em]

❌ "Add a smooth animation"
βœ… initial: { opacity: 0, y: 20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.6, delay: 0.1 }

Step 5 β€” Screenshot β†’ Prompt shortcut

Ask Claude:

"Convert this screenshot into a detailed React + Tailwind prompt spec. List every component, exact Tailwind classes, colors in HSL, and animation details."

Then clean it up and add your asset URLs. Done in ~10 minutes.


πŸ“ Repo Structure

ui-prompt-library/
β”œβ”€β”€ README.md                          ← You are here
β”œβ”€β”€ CONTRIBUTING.md                    ← How to add your prompt
β”‚
β”œβ”€β”€ saas/
β”‚   β”œβ”€β”€ README.md                      ← Index of all SaaS prompts
β”‚   β”œβ”€β”€ hero-dark-video-mindloop.md    ← Dark newsletter landing page
β”‚   β”œβ”€β”€ hero-light-dashboard-nexora.md ← Light SaaS with dashboard preview
β”‚   └── hero-dark-grow.md              ← Minimal dark hero with marquee
β”‚
β”œβ”€β”€ components/
β”‚   └── README.md
β”‚
└── templates/
    └── PROMPT_TEMPLATE.md             ← Blank skeleton for new prompts

🀝 Contributing

Want to add your own prompt? Read CONTRIBUTING.md.

Every merged prompt gets credited in the README.


πŸ“„ License

MIT β€” free to use, modify, and share.


✨ Contributors

Avatar Name Contribution
@P-r-e-m-i-u-m Syed Abdul Aman Creator, all initial prompts

Want your name here? Read CONTRIBUTING.md and open a PR.


πŸ“Š Stats

  • 5 prompts and counting
  • 3 SaaS full-page prompts
  • 2 component prompts
  • Tested with Claude and ChatGPT

See ROADMAP.md for what's coming next.

About

Open-source collection of production-grade UI prompts for React + Tailwind + shadcn/ui

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages