# Opposing rule text button

https://fieldbook.lizardi.mx/components/opposing-rule-text-button

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

Opposing rule text button: A borderless uppercase text button bracketed by two rules that sweep in from opposite ends on hover or focus and retreat the way they came.

## 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 | Hover me | Up to 28 characters |
| accent | color | #FF6A1F | No additional limit in the metadata. |
| thickness | number | 2 | From 1 to 6; step 1 |
| duration | number | 0.5 | From 0.1 to 1.5; step 0.05 |
| size | number | 25 | From 14 to 40; step 1 |

## Usage notes

Opposing rule text button uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Opposing rule text button?

Opposing rule text 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 Opposing rule text button depend on?

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

### What accessibility details are visible in Opposing rule text button?

The React source for Opposing rule text button 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 Opposing rule text button handle reduced motion?

The source scan found no direct useReducedMotion() or matchMedia preference read in Opposing rule text button's index.tsx. 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": "opposing-rule-text-button",
    "framework": "react"
  }
}
```

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

## Related open components

- [Corner bracket frame button](https://fieldbook.lizardi.mx/components/corner-bracket-frame-button)
- [Corner bracket seal button](https://fieldbook.lizardi.mx/components/corner-bracket-seal-button)
- [Light sweep effect](https://fieldbook.lizardi.mx/components/light-sweep-effect)
- [Press down sweep button](https://fieldbook.lizardi.mx/components/press-down-sweep-button)
- [Relay fill button](https://fieldbook.lizardi.mx/components/relay-fill-button)
- [Rotating sky explore button](https://fieldbook.lizardi.mx/components/rotating-sky-explore-button)
