# Camera flash pill

https://fieldbook.lizardi.mx/components/camera-flash-pill-button

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

Camera flash pill: A solid accent pill with a camera glyph that flickers like a struggling flash tube on hover or focus, and blanks its whole face white for one short beat 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 | Take a photo | Up to 24 characters |
| accent | color | #FF3B5C | No additional limit in the metadata. |
| flickerOnHover | boolean | true | No additional limit in the metadata. |
| flickerPeriod | number | 2 | From 0.8 to 5; step 0.1 |
| showCounter | boolean | true | No additional limit in the metadata. |

## Usage notes

Camera flash pill uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Camera flash pill?

Camera flash pill 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 Camera flash pill depend on?

The React metadata lists no additional npm dependencies beyond React.

### What accessibility details are visible in Camera flash pill?

The React source for Camera flash pill includes: native elements (button); attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Camera flash pill handle reduced motion?

Camera flash pill reads the motion preference in its React source through matchMedia(prefers-reduced-motion). 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": "camera-flash-pill-button",
    "framework": "react"
  }
}
```

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

## Related open components

- [Amber upload pill](https://fieldbook.lizardi.mx/components/amber-upload-pill)
- [Arrow to label pill](https://fieldbook.lizardi.mx/components/arrow-to-label-pill)
- [Bevel press pill](https://fieldbook.lizardi.mx/components/bevel-press-pill)
- [Dark Pill Sign In](https://fieldbook.lizardi.mx/components/dark-pill-sign-in-button)
- [Draining fill button](https://fieldbook.lizardi.mx/components/draining-fill-button-2)
- [Expanding icon pill](https://fieldbook.lizardi.mx/components/expanding-icon-pill)
