DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to switch the BoardUI app to Arabic or Hebrew layout with Boardui

Configure DirectionProvider and the document locale for a right-to-left interface.

Short answer: Run npx boardui@latest add direction in your existing project; then Wrap the children in app/layout.tsx with DirectionProvider and set the document language, such as he for Hebrew; Replace physical left and right spacing with logical styles such as ps/pe and start/end. All steps.

Who it is forA developer building a product for Arabic or Hebrew speaking users who needs mirrored layouts and keyboard navigation.

The problemSetting CSS direction alone does not configure React Aria keyboard navigation, calendars, or portalled menus.

The outcomeAn app whose layout, navigation, and overlays follow right-to-left direction, with the provider set in the root layout.

What you need first

  • A model provider API key (OpenAI, Anthropic, Google, OpenRouter, Vercel AI Gateway, Groq, or xAI)
  • A GitHub account and a Vercel account for the one-click deploy
  • Node.js and npm for local runs or CLI installs
  • A Next.js project if you want to add components to existing code

Steps

  1. Run npx boardui@latest add direction in your existing project.
  2. Wrap the children in app/layout.tsx with DirectionProvider and set the document language, such as he for Hebrew.
  3. Replace physical left and right spacing with logical styles such as ps/pe and start/end.
  4. Translate labels and accessible names in your own translation layer and check the layout in the browser.

Prompt for your agent

In the repo BoardUI/boardui, follow the RTL setup in the README for my project at <project-path> with locale <locale>. Expected output: the root layout wrapped in DirectionProvider and the document set to the right language. Verify that keyboard navigation and the date picker still work in the target locale.

Caveat. The README says direction and translation are configured separately, so right-to-left layout alone will still show English text until you translate it.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for BoardUI/boardui and "Switch the BoardUI app to Arabic or Hebrew layout"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer