Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

feature(bento): make it RTL compatible (#503)

Zakher Masri6dc23c7e9338
diff --git a/registry/default/magicui/bento-grid.tsx b/registry/default/magicui/bento-grid.tsx
index 7b30ca25..da32529d 100644
--- a/registry/default/magicui/bento-grid.tsx
+++ b/registry/default/magicui/bento-grid.tsx
@@ -72,7 +72,7 @@ const BentoCard = ({
<Button variant="ghost" asChild size="sm" className="pointer-events-auto">
<a href={href}>
{cta}
- <ArrowRightIcon className="ml-2 h-4 w-4" />
+ <ArrowRightIcon className="ms-2 h-4 w-4 rtl:rotate-180" />
</a>
</Button>
</div>