Skip to content

feat: Toggle component #35

@TheOrcDev

Description

@TheOrcDev

Overview

Create a Warcraft-themed toggle button component.

Design Direction

  • Pressed state: glowing rune or embossed gold border, like an activated ability
  • Unpressed: dark stone button, subtle border
  • Hover: warm glow effect, like hovering over a spell in the action bar
  • Size variants: small (icon only), default, large
  • Can contain icon, text, or both

Requirements

  • Toggle component with pressed/onPressedChange
  • Variant styles: default, outline
  • Size variants: sm, default, lg
  • Disabled state
  • Keyboard accessible (Space/Enter to toggle)

Reference

Good for beginners 🌱

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions