# Rim to fill gradient button

https://fieldbook.lizardi.mx/components/rim-to-fill-gradient-button

Category: Buttons
![Still of the Rim to fill gradient button component, a Fieldbook UI component in Buttons.](https://fieldbook.lizardi.mx/thumbs/rim-to-fill-gradient-button.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/rim-to-fill-gradient-button-35c1f5f3ff.mp4 (5 s, silent)

Rim to fill gradient button: A dark button shows only a thin gradient rim at rest; hovering drops the inner panel so the gradient floods the whole face, and pressing squeezes it down.

## 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 | Upgrade plan | Up to 24 characters |
| accent | color | #FF6A1F | No additional limit in the metadata. |
| endColor | color | #FF4D8D | No additional limit in the metadata. |
| rimWidth | number | 3 | From 1 to 8; step 1 |
| angle | number | 144 | From 0 to 360; step 1 |
| pressScale | number | 0.9 | From 0.8 to 1; step 0.01 |

## Usage notes

Rim to fill gradient button uses the inline preview frame with a dark theme setting.

### Which frameworks are available for Rim to fill gradient button?

Rim to fill gradient 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 Rim to fill gradient button depend on?

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

### What accessibility details are visible in Rim to fill gradient button?

The React source for Rim to fill gradient button includes: native elements (button). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Rim to fill gradient button handle reduced motion?

Rim to fill gradient button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: transitionDuration: reduce ? "0ms" : "300ms". 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": "rim-to-fill-gradient-button",
    "framework": "react"
  }
}
```

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

## Related open components

- [Gradient swap button](https://fieldbook.lizardi.mx/components/gradient-swap-button)
- [Graphite Slab CTA](https://fieldbook.lizardi.mx/components/graphite-slab-cta)
- [Swelling pill button](https://fieldbook.lizardi.mx/components/swelling-gradient-pill)
- [Amber upload pill](https://fieldbook.lizardi.mx/components/amber-upload-pill)
- [Dashed outline tooltip button](https://fieldbook.lizardi.mx/components/dashed-outline-tooltip-button)
- [Diagonal blob flood button](https://fieldbook.lizardi.mx/components/diagonal-blob-flood-button)
