# Rotating face plate

https://fieldbook.lizardi.mx/components/rotating-face-plate-button

Category: Buttons
![Still of the Rotating face plate component, a Fieldbook UI component in Buttons.](https://fieldbook.lizardi.mx/thumbs/rotating-face-plate-button.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/rotating-face-plate-button-0789bdb652.mp4 (5 s, silent)

Rotating face plate: A button whose labelled dark plate turns a corner and grows when engaged, exposing the accent slab underneath as four triangles, then shrinks and swaps colors with it while pressed.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| label | text | Twist | Up to 18 characters |
| accent | color | #9BE15D | No additional limit in the metadata. |
| angle | number | 45 | From 0 to 90; step 5 |
| scale | number | 1.5 | From 1 to 2; step 0.05 |
| size | number | 85 | From 60 to 140; step 5 |

## Usage notes

Rotating face plate uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Rotating face plate?

Rotating face plate is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Rotating face plate depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx.

### What accessibility details are visible in Rotating face plate?

The React source for Rotating face plate includes: attributes and handlers (aria-hidden, onKeyDown, onKeyUp); key comparisons (Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Rotating face plate handle reduced motion?

Rotating face plate reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: turn: reduced ? 0 : engaged ? angle : 0. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "rotating-face-plate-button",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Invert and grow button](https://fieldbook.lizardi.mx/components/invert-and-grow-button)
- [Invert on hover pill](https://fieldbook.lizardi.mx/components/invert-on-hover-pill)
- [Color swap play button](https://fieldbook.lizardi.mx/components/color-swap-play-button)
- [Converging chevron button](https://fieldbook.lizardi.mx/components/converging-chevron-button)
- [Diagonal wedge button](https://fieldbook.lizardi.mx/components/diagonal-wedge-button)
- [Focus halo button](https://fieldbook.lizardi.mx/components/focus-halo-button)
