# Cartridge fire button

https://fieldbook.lizardi.mx/components/cartridge-fire-button

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

Cartridge fire button: A novelty button shaped like a brass shell case, with a projectile tucked behind its nose that shoots out and reloads when 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 | Fire | Up to 16 characters |
| accent | color | #C9A227 | No additional limit in the metadata. |
| shotDistance | number | 30 | From 10 to 80; step 2 |
| reloadMs | number | 260 | From 100 to 900; step 20 |
| recoil | boolean | true | No additional limit in the metadata. |

## Usage notes

Cartridge fire button uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Cartridge fire button?

Cartridge fire button 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 Cartridge fire button depend on?

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

### What accessibility details are visible in Cartridge fire button?

The React source for Cartridge fire button includes: native elements (button); 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 Cartridge fire button handle reduced motion?

Cartridge fire button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: opacity: reduced &amp;&amp; flash ? 0.85 : 0; scaleX: pressed &amp;&amp; recoil &amp;&amp; !reduced ? 0.93 : 1; x: fired &amp;&amp; !reduced ? shotDistance : 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": "cartridge-fire-button",
    "framework": "react"
  }
}
```

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

## Related open components

- [Inset plate button](https://fieldbook.lizardi.mx/components/inset-plate-button)
- [Bevel press pill](https://fieldbook.lizardi.mx/components/bevel-press-pill)
- [Dialog bevel button](https://fieldbook.lizardi.mx/components/dialog-bevel-button)
- [Edge Collapse Button](https://fieldbook.lizardi.mx/components/edge-collapse-button)
- [Elevated chip button](https://fieldbook.lizardi.mx/components/elevated-chip-button)
- [Elevation ladder fill button](https://fieldbook.lizardi.mx/components/elevation-ladder-fill-button)
