Dark mode

The system preference, a switcher and the dark variant.

Overview

TSX
"use client"import { useTheme } from "next-themes"import { Button } from "@/components/ui/button"export function MoonlightButton() {  const { setTheme } = useTheme()  return <Button onClick={() => setTheme("moonlight")}>Moonlight</Button>}

New to Koala UI?

The Quickstart sets Koala UI up in a React app and renders your first component in about five minutes.