crafter-station/elements

theme-elements

Install theme switcher components from the Elements registry.

First seen Feb 27, 2026

Installation

$ npx skills add crafter-station/elements --skill theme-elements

Summary

  • Install theme switcher components from the Elements registry.
  • Use when user needs dark mode toggles, theme switchers, light/dark buttons, or theme dropdowns.
  • Triggers on "theme switcher", "dark mode", "light mode", "theme toggle", "theme button", "switch theme", "dark mode toggle".

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from crafter-station/elements · top by installs.

npx skills add crafter-station/elements

Browse all from crafter-station/elements

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 520
License LICENSE
Default branch main
Open issues 15
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,732 B
  • docs SUMMARY.md 304 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 50 installs

SKILL.md

Theme Switcher Elements

6 theme switcher variants. Requires next-themes (auto-installed).

Install Pattern

npx shadcn@latest add @elements/theme-switcher-{variant}

Variants

Variant Install Description
Button @elements/theme-switcher-button Simple icon button
Classic @elements/theme-switcher-classic Classic toggle with label
Dropdown @elements/theme-switcher-dropdown Dropdown menu with options
Multi-Button @elements/theme-switcher-multi-button Button group (Light/Dark/System)
Switch @elements/theme-switcher-switch Toggle switch
Toggle @elements/theme-switcher-toggle Animated toggle

Quick Patterns

# Minimal (navbar icon)
npx shadcn@latest add @elements/theme-switcher-button

# Full control
npx shadcn@latest add @elements/theme-switcher-dropdown

# Settings page
npx shadcn@latest add @elements/theme-switcher-multi-button

Setup

Requires ThemeProvider from next-themes wrapping your app in the root layout:

import { ThemeProvider } from "next-themes";

export default function Layout({ children }) {
  return (
    <ThemeProvider attribute="class" defaultTheme="system" enableSystem>
      {children}
    </ThemeProvider>
  );
}

All variants are hydration-safe by default.

Discovery

Browse https://tryelements.dev/docs/theme