RayCraftDocs
v1.0.3 raycraft.dev
On this page

ThemeMenu

Free

One drop-down for the theme and the density: Slate, Slate Dark, RayCraft, RayCraft Dark, Desktop, Desktop Dark, Mist, Mist Dark, Dark and Light, each in the normal and the compact density. The button shows the current choice and the menu marks it with a check. Both settings are saved in localStorage like ThemeToggle and DensityToggle.

Example

ThemeMenu control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
StylestringInline style added to the root element.

Package

ThemeMenu is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.