shadcn-rtl

star 0

shadcn/ui Right-to-Left (RTL) — Setup für Next.js/Vite/TanStack Start, dir-Attribut, logische CSS-Properties. Trigger: shadcn rtl, right to left shadcn, arabic hebrew shadcn, dir=rtl shadcn.

zone1987 By zone1987 schedule Updated 6/14/2026

name: shadcn-rtl description: shadcn/ui Right-to-Left (RTL) — Setup für Next.js/Vite/TanStack Start, dir-Attribut, logische CSS-Properties. Trigger: shadcn rtl, right to left shadcn, arabic hebrew shadcn, dir=rtl shadcn.

shadcn-rtl

First-class RTL (right-to-left) support for shadcn/ui: Arabic, Hebrew, Persian and any other RTL language. The CLI auto-converts physical CSS classes to CSS logical equivalents on install.

References

Enable RTL in a new project

# Next.js
npx shadcn@latest create --template next --rtl

# Vite
npx shadcn@latest create --template vite --rtl

# TanStack Start
npx shadcn@latest create --template start --rtl

Sets "rtl": true in components.json.

Migrate existing components

npx shadcn@latest migrate rtl [path]

DirectionProvider (Next.js layout)

import { DirectionProvider } from "@/components/ui/direction"

<html lang="ar" dir="rtl">
  <body>
    <DirectionProvider direction="rtl">{children}</DirectionProvider>
  </body>
</html>

Supported styles

Automatic CLI transformation only for projects using shadcn create with the new styles (base-nova, radix-nova, etc.).

Source: rtl/index.mdx, rtl/next.mdx, rtl/vite.mdx, rtl/start.mdx

Install via CLI
npx skills add https://github.com/zone1987/claude-a-dev-team --skill shadcn-rtl
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator