Skip to main content
Glama
ThemeButton.tsx354 B
"use client"; import { ThemeSwitcher } from "@/components/ui/kibo-ui/theme-switcher"; import { useState } from "react"; const ThemeButton = () => { const [theme, setTheme] = useState<"light" | "dark" | "system">("system"); return ( <ThemeSwitcher defaultValue="system" value={theme} onChange={setTheme} /> ); }; export default ThemeButton;

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ParthKapoor-dev/devex'

If you have feedback or need assistance with the MCP directory API, please join our Discord server