# Focus ring text input

https://fieldbook.lizardi.mx/components/focus-ring-text-input

Category: Inputs
![Still of the Focus ring text input component, a Fieldbook UI component in Inputs.](https://fieldbook.lizardi.mx/thumbs/focus-ring-text-input.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/focus-ring-text-input-42440836b0.mp4 (5 s, silent)

Focus ring text input: A single-line text field with a muted placeholder and a solid accent ring that appears only on focus.

## 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 |
| --- | --- | --- | --- |
| placeholder | text | you@example.com | Up to 40 characters |
| accentColor | color | #2F5FD0 | No additional limit in the metadata. |
| disabled | boolean | false | No additional limit in the metadata. |

## Usage notes

Focus ring text input uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Focus ring text input?

Focus ring text input 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 Focus ring text input depend on?

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

### What accessibility details are visible in Focus ring text input?

The React source for Focus ring text input includes: native elements (input). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Focus ring text input handle reduced motion?

The source scan found no direct useReducedMotion() or matchMedia preference read in Focus ring text input'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": "focus-ring-text-input",
    "framework": "react"
  }
}
```

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

## Related open components

- [Text field](https://fieldbook.lizardi.mx/components/text-field-basic)
- [Auto Grow Textarea](https://fieldbook.lizardi.mx/components/auto-grow-textarea)
- [Single value slider](https://fieldbook.lizardi.mx/components/single-value-slider)
- [Addon Input Group](https://fieldbook.lizardi.mx/components/addon-input-group)
- [Character budget counter](https://fieldbook.lizardi.mx/components/character-budget-counter)
- [Elastic tug slider](https://fieldbook.lizardi.mx/components/elastic-tug-slider)
