Quill is a production-ready template for AI chat products. Built with Next.js 14 (App Router), Tailwind CSS and TypeScript, it gives you the whole product surface in one codebase: a streaming chat with history, a prompt library, usage analytics and billing screens. Connect your own AI provider in one file and ship.
It does not look like every other AI template. Instead of purple gradients and glowing neon, Quill uses warm paper, ink and a single ochre accent with serif headings, in both light and dark.
The streaming works out of the box. A demo API route streams a reply so the typing effect, stop button and regenerate all run the moment you start the project.
What's inside
- Chat with streaming replies, typing effect, stop and regenerate
- Copy, thumbs up/down and a token estimate under every reply
- Markdown and code blocks with a copy button
- Chat history: search, pin, rename, delete, grouped by date
- Model picker per conversation
- Prompt library: categories, search, favorites, create your own, one click to use
- Usage screen: token, request and cost stats, stacked daily chart, 7/30/90 day range
- Billing screen: current plan, plan comparison with monthly/yearly toggle, change-plan dialog, token top-ups, invoices
- Settings: profile, default model, response style, custom instructions, theme, export and delete your data
- Login page
- Light, dark and system themes with no flash on load
- Responsive: history becomes a slide-over drawer on phones
- Conversations, prompts and settings are saved in the browser
- Clean, typed code (TypeScript, no any), no heavy dependencies
- Detailed README, license and changelog
Tech stack: Next.js 14, React 18, TypeScript, Tailwind CSS, Recharts, next-themes, lucide-react.
Good for: AI assistants, writing and coding tools, customer-facing chatbots, internal AI tools, GPT-style wrappers, MVPs and client projects.
Please note: all names, numbers and conversations are fictional demo data. The AI replies come from a demo endpoint; connect your own provider in app/api/chat/route.ts (instructions in the README). Login, billing and invoices are UI only, so connect your own authentication and payment provider. No external services or web fonts are loaded at runtime. Requires Node.js 18.17 or newer.
Features list
- Next.js 14 App Router + TypeScript
- Streaming chat (stop, regenerate, copy, feedback)
- Chat history with search, pin, rename, delete
- Prompt library with favorites and custom prompts
- Usage analytics and billing screens
- Settings with custom instructions and response style
- Light, dark and system themes
- Warm paper, ink and ochre design (no purple gradients)
- Responsive, mobile-friendly
- One-file backend connection
- Documentation included