Theme Toggle

Toggle between dark/light theme.

Usage

With icon

With text

Installation

Using RubyUI CLI

Run the install command

rails g ruby_ui:component ThemeToggle

Components

ComponentBuilt usingSource
ThemeTogglePhlex
ThemeToggleControllerStimulus JS