AI Interfaces
A Cmd+K (or Ctrl+K) modal that opens over any page. Search input at the top, grouped result list, keyboard navigation with arrow keys and Enter, Escape to close. Ideal for AI product surfaces, docs sites, dashboards, and any app that wants a fast keyboard-first navigation layer.
Live preview
No extra dependencies. React 18+ and Tailwind CSS v3+ assumed. Save as CommandPalette.tsx.
Paste the prompt into the tool you already use. Each version is written specifically for that tool, matched to the same design constraints so the output stays consistent.
Build components/CommandPalette.tsx as a client component. Fixed inset-0 z-50 flex items-start justify-center pt-24 modal with a bg-black/40 backdrop-blur-sm overlay button. Inner rounded-2xl bg-white border shadow max-w-[520px]. Header (h-12 border-b): search SVG icon + text input + ESC kbd. Body: max-h-[360px] overflow-y-auto grouped result list, each group with a small group label (10px semibold muted) followed by result buttons (13px black, 10px hint muted right-aligned). Active item bg-[#F5F8FF]. Keyboard: (Cmd|Ctrl)+K toggles, Escape closes, ArrowDown/Up moves active. Props: items {id, label, hint, group}[], placeholder, hotkey (default K). Single default export.AI Interfaces
AI Chatbot Chat Interface
AI chatbot interface for React and Next.js apps: streaming messages, growing input, suggestion chips, and blinking cursor.
AI Interfaces
AI Copilot Sidebar (Right-Panel Assistant)
AI copilot sidebar panel for React and Next.js apps, slides in from the right with quick actions and chat input.
Scroll & Motion
Parallax Storytelling Hero Section
Full-screen parallax hero section for React, cinematic image reveal on scroll with a single big headline per panel.
Copy the source file from the "Copy code" button and save it into your components folder. Add any listed dependencies (React 18 or later and Tailwind CSS v3 or later are always required, plus framer-motion or gradflow if the component lists them). Import and render the component wherever you want it. Every prop is optional and defaulted.
Yes. Every component takes props for its content (headline, subtitle, image URL, CTA, and so on) and uses Tailwind classes throughout, so you can restyle without touching the logic. For deeper design changes, paste the prompt into Claude Code, Cursor, Lovable, Replit, or Codex and describe your brand tokens, spacing, or motion tweaks.
Yes. Everything on this page is free to copy, adapt, and ship in commercial projects. No attribution required. If you post a public showcase we always appreciate a link back.
All five prompts produce the same design. Claude Code and Codex are best when you want the component slotted into a project with existing conventions. Cursor is ideal for editing inside your IDE with the file open. Lovable and Replit spin up a fresh preview fastest, useful for a quick play.
Yes. The source files are plain React 18 client components. They run on any framework that supports React 18 and Tailwind CSS v3. If a component needs the "use client" directive (all of them do here, since they use hooks), keep the directive at the top of the file when you paste.