Sections
Promo Section
Highlight section with copyable commands, prompts, or study snippets
Quick Preview
Copyable starting points
Grab a command or workflow habit and use it in your next Next.js session
Bootstrap a fresh Next.js workspace
Foundation command
Run the local development loop
Daily workflow
Check type safety before shipping
Professional habit
Customising Copyable Commands
// src/lib/constants.tsexport const PROMO_ITEMS: PromoItem[] = [{ code: 'npx create-next-app@latest', label: 'Bootstrap a fresh Next.js workspace', note: 'Foundation command' },{ code: 'npm run dev', label: 'Run the local development loop', note: 'Daily workflow' },{ code: 'npx tsc --noEmit', label: 'Check type safety before shipping', note: 'Professional habit' },]
Installation
# Copy the component filecp src/components/sections/PromoSection.tsx your-project/src/components/sections/# Install peer dependencynpm install lucide-react
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
This component has no props.
This component uses PROMO_ITEMS constant from lib/constants.ts
Features
- โTeal background
- โ3-column grid of promo cards
- โCopy to clipboard functionality
- โVisual feedback (check icon)
- โGlassmorphism effect
- โCopyable commands and workflow prompts
Dependencies
lucide-react