reflex/docs/library/theming/theme_panel.md
2024-02-26 17:18:28 +01:00

19 lines
416 B
Markdown

---
components:
- rx.theme_panel
---
# Theme Panel
The `ThemePanel` component is a container for the `Theme` component. It provides a way to change the theme of the application. The `ThemePanel` component is a part of the `rx.radix.themes` package.
```python
rx.theme_panel()
```
The theme panel is closed by default. You can set it open `default_open=True`.
```python
rx.theme_panel(default_open=True)
```