Creator
Ui components

UI Components

shadcn/ui components and shared application components.

shadcn/ui

Creator uses shadcn/ui with the New York style and neutral base color. Components are installed to components/ui/.

Adding new components

npx shadcn@latest add dialog

This downloads the component source code into components/ui/dialog.tsx. You own the code and can modify it.

Installed components

The project includes a wide range of pre-installed shadcn/ui components including:

  • Layout: Card, Separator, Scroll Area
  • Forms: Button, Input, Label, Select, Switch, Radio Group
  • Feedback: Dialog, Dropdown Menu, Tooltip, Accordion
  • Navigation: Navigation Menu, Collapsible
  • Data: Avatar, Badge

Shared application components

Located in components/shared/:

ComponentFileDescription
LogoLogo.tsxApp logo with name, links to /
LogoSVGLogoSVG.tsxSVG logo icon
Footerfooter.tsxSite footer with link columns from FooterMenu config
ThemeTogglethemeToggle.tsxLight/dark mode toggle button
Analyticsanalytics.tsxConditional analytics script loader
CookieConsentcookie-consent.tsxCookie consent banner (3 variants: default, small, mini)
DashboardHeaderDashboardHeader.tsxPage header with title and description
DashboardCardDashboardCard.tsxLinked card with icon for dashboard grids
StatCardstat-card.tsxAdmin stat card with area chart and growth badge
TableUsertable-user.tsxUser avatar + name + email row for tables
StatusBadgeStatusBadge.tsxSubscription status badge (active, trialing, past_due, etc.)
VerifiedBadgeVerifiedBadge.tsxEmail verified/unverified badge

Styling

  • Tailwind CSS v4 with CSS-first configuration (no tailwind.config.ts)
  • OKLCH colors defined as CSS custom properties in app/globals.css
  • Dark mode via next-themes with class strategy
  • cn() utility from lib/utils.ts for merging Tailwind classes (uses clsx + tailwind-merge)

Charts

Admin dashboard charts use Recharts (recharts@2.15.4) wrapped in shadcn/ui's ChartContainer component. The StatCard component renders an AreaChart with gradient fill.

Animations

  • motion (motion@12.34.3) — Framer Motion for component animations
  • gsap (gsap@3.13.0) — GreenSock for complex timeline animations
  • tw-animate-css — Tailwind CSS animation utilities

On this page

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.