"use client"; import React, { useState } from "react"; import Checkbox from "../components/Checkbox"; export default function FormsPlayground() { const [standardChecked, setStandardChecked] = useState(false); const [inverseChecked, setInverseChecked] = useState(true); const variations = [ { title: "Standard / Default", mode: "standard", state: "default" }, { title: "Standard / Hover", mode: "standard", state: "hover" }, { title: "Standard / Focus", mode: "standard", state: "focus" }, { title: "Inverse / Default", mode: "inverse", state: "default" }, { title: "Inverse / Hover", mode: "inverse", state: "hover" }, { title: "Inverse / Focus", mode: "inverse", state: "focus" }, ]; return (

Forms Playground — Checkbox

Interactive examples

setStandardChecked(checked)} /> setInverseChecked(checked)} />

Static states

{variations.map((v) => (
{v.title}
{}} /> {}} />
))}
); }