Search documentation of phoenix_kit

# PhoenixKitWeb.Components.Core.ThemeSwitcher (phoenix_kit v1.6.19)

View Source

Provides a theme switcher UI component.

# Summary

## Functions

theme_switcher(assigns)

Renders a simple theme switcher placeholder.

# Functions

# theme_switcher(assigns)

Renders a simple theme switcher placeholder.

Note: This is a placeholder implementation. The full theme system requires the PhoenixKit.ThemeConfig module to be implemented.

## Attributes

- `size` (`:string`) - Defaults to `"medium"`. Must be one of `"small"`, `"medium"`, or `"large"`.
- `show_label` (`:boolean`) - Defaults to `true`.
- `class` (`:string`) - Defaults to `nil`.
- Global attributes are accepted.