Skip to content

Conversation

@reidbarber
Copy link
Member

@reidbarber reidbarber commented Jan 7, 2026

Adds Vanilla and Tailwind OTP (one-time-password) examples to the React Aria TextField docs.

Inspired by @snowystinger's example found here: #7374

Note: this currently hides the caret. We could probably try to show it and have it positioned in the correct spot over each box.

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

Test new OTP docs examples (vanilla and tailwind) on desktop and mobile.

🧢 Your Project:

@rspbot
Copy link

rspbot commented Jan 7, 2026

@rspbot
Copy link

rspbot commented Jan 13, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants