Skip to content
← All projects

Open source

Rasta UI

An open-source, right-to-left-first React component library with accessible defaults.

Role
Creator and maintainer
Year
2024
Stack
  • React
  • TypeScript
  • Storybook
  • Vitest
Illustration for the Rasta UI project

The challenge

Most component libraries treat right-to-left languages as an afterthought: arrows point the wrong way, paddings flip incorrectly and date pickers break.

What I built

A set of thirty-plus React components — buttons, forms, dialogs, tabs, date pickers — that use CSS logical properties from the start and work the same way in English, Persian and Arabic.

Under the hood

TypeScript, headless logic separated from styling, Storybook with RTL and dark-mode toggles, visual regression tests and automated accessibility checks on every pull request.

The result

A drop-in library that saves teams the week they would otherwise spend fixing mirrored layouts — and a good excuse to write documentation people actually read.

Demo by KiteWPGet this theme