claude-ui
Claude UI — Implementation Index
Source: PageFlows (July 2025 — 19 flows, 100+ screenshots).
Project: c:\nextjs_project\pulse-analytics → renamed to claude-ui on GitHub.
Design Tokens (Quick Reference)
| Token | Value | Usage |
|---|---|---|
| Background | #F9F6F0 |
Page bg — warm cream, NOT white |
| Surface | #FFFFFF |
Cards, modals, chat bubbles |
| Brand accent | #C96A4A |
Logo, send btn, New Chat dot |
| Text primary | #0F0F0F |
Body text |
| Text muted | #6B6B6B |
Secondary text, placeholders |
| Border | #E0E0E0 |
All borders, dividers |
| Active nav | bg-black/8 |
Sidebar active item (valid Tailwind v4) |
| CTA | bg-black text-white |
Primary buttons |
| Heading font | Georgia,'Times New Roman',serif |
h1 headings only |
| Body font | system-ui, sans-serif |
Everything else |
Critical Rules (Frequent Mistakes)
| Bug | Correct |
|---|---|
User messages right-aligned (flex justify-end) |
LEFT-aligned — flex items-start gap-3 |
| Sidebar has Anthropic logo / settings gear | NO logo, NO gear — only [≡][+][💬][📁][⊞][ST] |
| "New chat" is a full-width button | It's a nav item row (coral dot + text) |
| Projects badge is blue | Teal — bg-[#E8F4F8] text-[#3B82A0] |
| Response toolbar shows on hover | ALWAYS visible (no hover-only) |
| Response toolbar: all buttons on left | justify-between — AnthropicMark LEFT, Copy/👍/👎/Retry RIGHT |
| "Claude can make mistakes" below chat input | Per-message, right-aligned BELOW response toolbar (not global) |
| Clicking chat title → Rename modal directly | Opens DROPDOWN first: Star / Rename / Delete |
| StyleIcon is a bolt/lightning bolt | 3 sliders SVG: d="M8 6h13M8 12h9m-9 6h5" |
window.location.href for navigation |
Use <Link href> or router.push() |
border-t border-gray-50 (invisible) |
Use border-[#E0E0E0] |
| AnthropicMark duplicated in files | Extract to src/components/icons.tsx |
| AnthropicMark uses double-A wordmark path | Star path: M12 2L9.5 8.5H3L8.5 12.5L6 19L12 15L18 19L15.5 12.5L21 8.5H14.5L12 2Z |
bg-black/8 IDE warning |
Valid in Tailwind v4 — compiles correctly |
pnpm dev fails in VSCode (NODE_ENV=production) |
Add cross-env NODE_ENV=development to dev script |
App Shell Structure
<div className="flex h-screen bg-[#F9F6F0]">
<Sidebar /> {/* w-12 collapsed / w-64 expanded */}
<main className="flex-1 flex flex-col overflow-hidden">
{/* page content */}
</main>
</div>
Project Structure
src/app/
page.tsx # Login (split layout)
layout.tsx # Root layout
(chat)/
layout.tsx # App shell (sidebar + main)
new/page.tsx # Home / chat
recents/page.tsx # Chat history
settings/page.tsx # Settings tabs
artifacts/page.tsx # Artifacts list + split view
upgrade/page.tsx # Billing / plan cards
(onboarding)/ # 5-screen onboarding flow
src/components/
sidebar.tsx # Collapsible sidebar + account menu
chat-input.tsx # Textarea + toolbar + dropdowns
Reference Directory
Design System
references/design-tokens.md— Full token table, Tailwind v4 @theme, sizing conventionsreferences/flows.md— All 19 flows table, navigation rules, route map
Components
references/components/sidebar.md— Collapsed/expanded states, account menu popupreferences/components/chat-input.md— Toolbar buttons, StyleIcon SVG, dropdowns, propsreferences/components/messages.md— UserMessage (LEFT), AssistantMessage, ResponseToolbar, AnthropicMarkreferences/components/modals.md— Rename, Share, Feedback, Delete, DeleteAccount
Pages
references/pages/home.md— Empty state hero, conversation view, topbar, upgrade bannerreferences/pages/recents.md— Chat card (no preview text), select mode toolbarreferences/pages/settings.md— 6 tabs, Profile fields, Appearance picker, ToggleSwitchreferences/pages/login.md— Split layout, 5-screen onboarding flowreferences/pages/billing.md— Plan cards (Free/Pro/Max), tab toggle, billing togglereferences/pages/artifacts.md— List page, category pills, card grid, split view
Accessibility Checklist
- Icon buttons →
aria-label - SVG icons →
aria-hidden="true" - Toggle switches →
role="switch"+aria-checked - Form inputs →
<label htmlFor>oraria-label - Focus ring →
outline: 2px solid #C96A4Ain globals.css - Min touch target → 44×44px
Tailwind v4 Notes
@import "tailwindcss"replaces old@tailwind base/components/utilities@theme inlinein globals.css defines custom utility classesbg-black/8= valid arbitrary opacity — IDE warns but compiles correctly- Custom tokens:
bg-cream,bg-brand,text-text-muted,border-border
More from clownnvd/claude-code-skills
prisma-better-auth-nextjs
Prisma 7 + Better Auth + Next.js App Router. Email/password, OAuth, 2FA, rate limiting, audit logging. Triggers: add auth, better auth, prisma auth, nextjs login, sign-up/sign-in, auth scaffold.
14ui-ux-pro-max
UI/UX design intelligence. 93 styles, 121 palettes, 81 font pairings, 35 charts, 79 components, 62 animations, 65 WCAG criteria, 46 responsive patterns, 46 dark mode rules, 60 design tokens, 13 stacks. Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check. Styles: glassmorphism, brutalism, neumorphism, bento, dark mode, view transitions, scroll-driven, container queries, AI-native, liquid glass, neo-minimalism, mesh gradient, geometric abstraction. Topics: color, accessibility, animation, layout, typography, spacing, shadow, gradient, responsive, dark mode, WCAG 2.2, design tokens, components, spring physics, kinetic typography, container queries, popover API, semantic tokens.
9stripe
Use when adding payments, billing, checkout, subscriptions, invoices, webhooks, customer portal, Stripe Connect, metered/usage billing, tax, fraud/Radar, pricing page, payment intents, refunds, coupons, promo codes, or any Stripe integration in Next.js. Triggers: stripe, payment, checkout, subscribe, billing, invoice, webhook, portal, connect, marketplace, payout, metered, usage-based, SaaS pricing, paywall, plan, tier.
8nextjs
Next.js 16 App Router patterns, proxy.ts, use cache, async APIs, 37 documented errors with fixes, ecosystem compatibility, postinstall patches.
8vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
8agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
7