ended3월 25일· 1 sources
Dark Mode UI Components for SaaS: Button, Input, Card, Badge (Tailwind CSS v4)
SaaS를 위한 다크 모드 UI 컴포넌트: Button, Input, Card, Badge (Tailwind CSS v4)
Why it matters
This post presents four essential dark-mode-ready UI components (Button, Input, Card, Badge) for SaaS dashboards, built with Tailwind CSS v4's new CSS-first dark mode approach. It details the setup using @custom-variant and next-themes in Next.js, and provides a full Button implementation using class-variance-authority (cva) for type-safe variant management. These components are shipped as part of LaunchKit, a Next.js 16 SaaS starter kit.
1
Sources
+0
24h
—
Growth
180d
Active
Tailwind CSS v4Dark ModeSaaSLaunchKitclass-variance-authority