# Transform Button Component The Transform Button component provides a customizable button that can transform its appearance, commonly used for hamburger menus and similar UI elements. ## Usage ```html ``` To activate the transformation, add the `.transform` class: ```html ``` ## Transformation Directions The component supports various transformation directions: - `.right` - Transform to the right - `.up` - Transform upward - `.down` - Transform downward - `.top-left` - Transform to the top-left - `.top-right` - Transform to the top-right - `.bottom-left` - Transform to the bottom-left - `.bottom-right` - Transform to the bottom-right Example: ```html ``` ## Styling with CSS Variables The Transform Button component can be customized using CSS variables: | CSS Variable | Default Value | Description | |--------------|---------------|-------------| | `--transform-button-color` | `#000000` | The color of the button lines | ### Dark Mode In dark mode, the button color automatically changes to white: ```css .dark-side { --transform-button-color: #ffffff; } ``` ## Example ```html ``` This example creates a transform button that toggles its appearance when clicked.