Submit Field
A text field that submits on Enter — but not while an IME composition is active. Confirming a composition candidate with Enter (as when typing Japanese, Chinese, or Korean) must not also submit the field; only an Enter pressed outside composition submits. The last submitted value is announced in a status region.
- Axe
- Focus
Preview
Nothing submitted
Installation
npx shadcn@latest add https://ui.publictheta.com/r/submit-field.jsonConformance
Verified against the @publictheta/ui-spec submit-field specification on both the React and vanilla reference implementations, across Chromium, Firefox, and WebKit.
- Axe — No WCAG 2 A/AA axe-core violations
- Focus — A visible focus indicator appears on keyboard focus (WCAG 2.4.7)
See the full conformance matrix across all components.