Toggle
A toggle button allows a user to toggle a selection on or off, for example switching between two states or modes.
Installation
Install via VScode or copy and paste the code below into a new file, preferably in a folder at components/base.
BaseLayer
Examples
Default
bl-toggle
import { Toggle } from "@/components/base/toggle";
export const ToggleExample = () => <Toggle>Mode</Toggle>;