דילוג לתוכן

טפסים · מערכת הפעלה רטרו

חלון הרשמה בסגנון מערכת הפעלה ישנה

חלון דיאלוג של שולחן עבודה משנות ה־90 עם מסגרות בולטות, פס התקדמות בבלוקים וחלון שאפשר לגרור.

Retro OS Signup Dialog

  • רטרו
  • טופס
  • גרירה

הפרומפט המלא

הצגת הפרומפט שמגדיר את הפריסה, התנועה ושפת העיצוב
Build a "Retro OS Signup Dialog" React component.

CONCEPT: A newsletter signup presented as an old-school desktop dialog window that you can drag. Submitting shows a blocky progress bar and a 'Setup complete' message.

LAYOUT & CONTENT:
- Navy title bar 'Subscribe.exe' with _ □ ✕ buttons; grey body; label + sunken text field for email; checkbox 'Send me the weekly digest'.
- Buttons 'OK' and 'Cancel' with classic 2px bevels; a floppy-disk style icon.

INTERACTIONS & MOTION:
- Window drag via drag with dragConstraints to the desktop, dragMomentum false.
- OK: progress bar fills with 12 discrete blocks (one every 120ms), then the dialog content swaps to 'Setup complete. Welcome aboard.'
- Buttons invert their bevel when pressed (inset look).

DESIGN SYSTEM — Retro OS:
- Classic desktop: teal desktop #008080, window grey #C0C0C0, navy title bar #000080.
- Beveled 2px borders (white top-left, dark bottom-right) on every control.
- Type: pixel-ish sans (Pixelify Sans) or MS Sans Serif stand-in.

CRAFT RULES:
- Motion: Framer Motion with spring physics (type: "spring"). Animate transform and opacity only. Respect prefers-reduced-motion via useReducedMotion().
- Icons: lucide-react where icons are needed.
- Accessibility: real <button>/<a>/<label> elements, visible focus ring, keyboard operable, aria attributes where state changes.

OUTPUT: one self-contained React component file (Tailwind CSS v4 utility classes, framer-motion, lucide-react), no external images, default export, ready to paste into a Next.js App Router page with "use client". Load any Google Font it needs with next/font/google.

איך משתמשים בפרומפט

  1. 1. מעתיקיםלחיצה על „העתקת הפרומפט” מעתיקה את כל ההנחיות: פריסה, תנועה וכללי עיצוב.
  2. 2. מדביקים ב-Claudeכדאי להוסיף בתחילת הפרומפט את שם העסק, הטקסטים והצבעים שלך.
  3. 3. משלבים באתרמתקבל קובץ React אחד. צריך להתקין את framer-motion ואת lucide-react.

לפי סוג ולפי סגנון