NexoreUIv1.8.6
InstallationComponents61IconsTemplatesNEWNexore MakeAI
Create ProjectSTUDIOGitHub
NexoreUI
61 comps
Create Project
Studio
Installation
Components Overview
60+
Icons
300+
Categories6 groups
Button
Input
Checkbox
AI
Select
AI
Switch
Slider
Rating
File Upload
Card
Accordion
Tabs
Table
Stepper
Scroll Area
Navigation
Dock
Data Display
Aurora Border Card
AI
Aurora Search Pill
AI
AI Prompt Input
AI
Command
Interactive Code Block
AI
Pro AI
AI
Theme: cyan
Studio
DocsDark Mode

Dark Mode

Dark mode toolkit and theme utilities.

NextCookie Consent
On This Page
Quick Actions
Project Studio
New
Nexore Make (AI)Source on GitHub
Pro Suites — Theme Engineering

Dark Mode Toolkit

Production-grade theme controllers, sun/moon morphing switches, segmented pickers, and zero-flicker Next.js integration hooks. Fully interactive with live theme toggling.

npx nexoreui add dark-mode

Interactive Live Playground

Live Theme Engine
dark mode

Current state: dark

Configure Props

component.tsx
1

Props Reference

API Reference (Props)

PropTypeDefaultDescription
theme"light" | "dark" | "system""dark"Current active theme state. Can be controlled or bound to next-themes.
variant"pill" | "icon" | "segmented""pill"Visual appearance style of the theme switcher.
size"sm" | "md" | "lg""md"Dimensions profile for the toggle switch.
showLabelbooleanfalseDisplays textual theme indicator label next to the control.
onChange(theme: "light" | "dark" | "system") => voidundefinedCallback fired when the user selects or toggles a theme.

Usage Examples

Page 1 of 2

1. Animated Pill Sun/Moon Switcher

dark mode
component.tsx
1

2. Compact Segmented Multi-Theme Switcher

component.tsx
1