Generate clean, structured prompts for use with Vercel v0.dev or ChatGPT.
USAGE: v0gen
DESCRIPTION: Generate structured, reusable prompt templates on the command line for use with Vercel V0.
This interactive CLI tool helps you generate production-grade prompts for React + Tailwind components or pages using natural language building blocks.
Prompts are copied to clipboard and echoed to terminal for easy use.
TYPES: • component → A single React component (e.g. profile card) • full-page → A complete landing or app page layout • modal → Dialogs and popups for focused UX • auth → Login, signup, password forms • experimental → Conceptual or abstract UI elements
FIELDS: You'll be prompted for some or all of the following: - data (e.g. blog post, user, log entry) - function (e.g. edit details, browse list) - tone (e.g. sleek, minimal, dark) - layout (e.g. sidebar + content, grid, stack) - interactivity (e.g. yes, no, dropdown, tabs)
EXAMPLE: $ v0gen [select: modal] data: user profile function: edit details tone: clean layout: centered form interactivity: inline validation
➤ Prompt auto-copied to clipboard.
AUTHOR: carl antone
VERSION: 0.2.0
LICENSE: MIT (or whatever makes you happy)