Finance Theme Toggle
Compact next-themes light/dark control; capture represents its resting state.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this block
What it's for
- Compact next-themes light/dark control; capture represents its resting state..
Includes
- Theme toggle
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
- 1 template or blueprint on this site use it (below)
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
Agentic UI CLI
agentic-ui add finance-theme-toggleInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/finance-theme-toggleUsed in
- Type
- Block
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- npm packages
lucide-reactnext-themes- Registry dependencies
ui-finance-tracker-button- Files
1 file
- components/templates/personal-finance/components/theme-toggle.tsx
Related components
Finance App Header
Header resolves current route and offers layout settings, section switches, density reset and a light/dark toggle.
Details and live previewFinance App Sidebar
Shared navigation highlights current route and includes account summaries; replace branding and account fixtures.
Details and live previewFinance Budget Cards
Envelope pacing list; linear bars clamp at 100 while copy states the amount to go or over plan; zero budget is guarded.
Details and live previewFinance Income Expense Timeseries
MRR vs previous period.
Details and live preview