Template 4 - AI image generationPro
Image studio with a settings rail (prompt, aspect ratio, style chips, steps slider, HD toggle) and a result grid where a new batch shimmers in while generating.
About Template 4
Image studio with a settings rail (prompt, aspect ratio, style chips, steps slider, HD toggle) and a result grid where a new batch shimmers in while generating.
Template 4 is a pro template block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 139 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- image generation
- studio
- prompt
- gallery
- settings
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/template-04Dependencies installed automatically: lucide-react, motion.
Uses: button, motion-presets, reveal, slider, switch, text-shimmer, textarea, use-reduced-motion, utils.
Usage
import Template04 from "@/components/blocks/template-04"
export default function Page() {
return <Template04 />
}