axonyx-ui 0.0.48

Foundry CSS, JavaScript helpers, and Axonyx-native .ax components for Axonyx UI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
page ThemeSwitcher

<label class="ax-theme-switcher">
  <span class="ax-theme-switcher__label">{label}</span>
  <select
    class="ax-select ax-theme-switcher__select"
    data-size={size}
    data-surface={surface}
    data-ax-behavior="theme"
    data-ax-theme-storage-key={storageKey}
    aria-label={ariaLabel}
  >
    <option value="silver">Silver</option>
    <option value="bronze">Bronze</option>
    <option value="gold">Gold</option>
  </select>
</label>