命令面板

搜索要执行的命令…

0GitHub 星标
Components

主题切换器

在 Next.js 应用程序中在系统、浅色和深色主题之间切换。

加载中

安装

pnpm dlx shadcn@latest add @yourname/theme-switcher

用法

import { ThemeSwitcher } from "@/components/theme-switcher"
<ThemeSwitcher />

参考

License and usage

  • Free to use and modify in both personal and commercial projects.
  • Attribution is appreciated but not required.
  • Released under the MIT License.

这个页面对你有帮助吗?

命令面板

搜索要执行的命令…