Seats a single prompt in a bezel ringed in sky chrome, for a hero search.
FreeWeb and MobileMotion
Preview
npx shadcn add @fetaui/bezel-framePlayground
Rest, focus it
Thinking
Disabled
Icons animation
Thinking
Disabled
Motion
Installation
Terminal· bash
npx shadcn add @fetaui/bezel-frame
Accessibility
- A labelled input. Thinking shows as text in the field.
- Focus adds a blue field ring, not only light.
Motion
- A 1.5 px sky chrome ring drifts slowly round the bezel, the same ring as Metal Frame.
- Focus brightens the ring and the field ring turns blue, and send turns Primary.
- Thinking runs the bands 2.5 times faster.
- With animated off, reduced motion or no WebGL, the ring is a static CSS ring.
Responsive behavior
- 420 px wide, a 48 px field inside a 1.5 px ring with a 2 px inset, so 52 px tall on Web. 358 px and a 50 px field on Mobile.
Performance
- The ring is the shared Metal Frame shader, tinted with the sky and blue tokens. It runs only while on screen and the tab is visible.
- animated={false}, reduced motion and disabled draw a static CSS ring instead.
Note for AI
Give your coding assistant the Markdown reference instead of screenshots.
- Import BezelFrame. Props: label, placeholder, defaultValue, thinking, disabled, onSubmit, onStop, bend, animated.
- thinking swaps send for stop. Set it around your request.
- It is a single prompt for a hero search and composes Icon Button.
Related
Metal FrameComponentRings any box in liquid chrome: bands drift round the edge, the edge swells toward the pointer, and thinking runs them faster.Liquid RingComponentWraps the prompt composer in a liquid metal ring with an orbiting glow and a voice beam.Aura FrameComponentWarm and cool light leaking from a prompt, for a louder composer.PromptProComponentTwo composers. AI Prompt is the lighter chat composer with commands, files and hints. Prompt Input is the agent composer, where the header names the mode: ask, responding, voice or actions.InputComponentThe single line text control: a pill on the tray fill that lifts onto the surface when focused.