+
{content}
-
+
{finalCaption}
diff --git a/apps/v4/components/language-selector.tsx b/apps/v4/components/language-selector.tsx
index cb6529e21c..4a53291212 100644
--- a/apps/v4/components/language-selector.tsx
+++ b/apps/v4/components/language-selector.tsx
@@ -9,6 +9,7 @@ import {
SelectTrigger,
SelectValue,
} from "@/examples/base/ui/select"
+
import { cn } from "@/lib/utils"
export type Language = "en" | "ar" | "he"
diff --git a/apps/v4/content/docs/(root)/rtl.mdx b/apps/v4/content/docs/(root)/rtl.mdx
index e668eb0c6f..29803c668f 100644
--- a/apps/v4/content/docs/(root)/rtl.mdx
+++ b/apps/v4/content/docs/(root)/rtl.mdx
@@ -3,7 +3,6 @@ title: "RTL"
description: "RTL documentation"
---
-
## Overview
RTL is a feature that allows you to display content from right to left.
@@ -69,14 +68,14 @@ className={cn(
Replace physical positioning classes with logical equivalents:
-| Before | After |
-|--------|-------|
-| `group-data-[side=left]:-right-4` | `group-data-[side=left]:-end-4` |
-| `group-data-[side=right]:left-0` | `group-data-[side=right]:start-0` |
-| `after:left-1/2` | `after:start-1/2` |
-| `after:left-full` | `after:start-full` |
-| `-right-2` | `-end-2` |
-| `-left-2` | `-start-2` |
+| Before | After |
+| --------------------------------- | --------------------------------- |
+| `group-data-[side=left]:-right-4` | `group-data-[side=left]:-end-4` |
+| `group-data-[side=right]:left-0` | `group-data-[side=right]:start-0` |
+| `after:left-1/2` | `after:start-1/2` |
+| `after:left-full` | `after:start-full` |
+| `-right-2` | `-end-2` |
+| `-left-2` | `-start-2` |
### Usage
diff --git a/apps/v4/content/docs/components/base/badge.mdx b/apps/v4/content/docs/components/base/badge.mdx
index 6b36e0878b..b91a24df94 100644
--- a/apps/v4/content/docs/components/base/badge.mdx
+++ b/apps/v4/content/docs/components/base/badge.mdx
@@ -89,11 +89,7 @@ You can customize the colors of a badge by adding custom classes such as `bg-gre
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/button.mdx b/apps/v4/content/docs/components/base/button.mdx
index b6a2cc3a22..4fdf651371 100644
--- a/apps/v4/content/docs/components/base/button.mdx
+++ b/apps/v4/content/docs/components/base/button.mdx
@@ -147,11 +147,7 @@ Remember to set the `nativeButton` prop to `false` if you're returning an elemen
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/combobox.mdx b/apps/v4/content/docs/components/base/combobox.mdx
index 3077b5263c..b3bca6d0b6 100644
--- a/apps/v4/content/docs/components/base/combobox.mdx
+++ b/apps/v4/content/docs/components/base/combobox.mdx
@@ -260,11 +260,7 @@ You can add an addon to the combobox by using the `InputGroupAddon` component in
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/dialog.mdx b/apps/v4/content/docs/components/base/dialog.mdx
index 0f40d0affa..427da7fc64 100644
--- a/apps/v4/content/docs/components/base/dialog.mdx
+++ b/apps/v4/content/docs/components/base/dialog.mdx
@@ -115,11 +115,7 @@ Long content can scroll while the header stays in view.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/drawer.mdx b/apps/v4/content/docs/components/base/drawer.mdx
index db9710be21..762642e179 100644
--- a/apps/v4/content/docs/components/base/drawer.mdx
+++ b/apps/v4/content/docs/components/base/drawer.mdx
@@ -112,11 +112,7 @@ You can combine the `Dialog` and `Drawer` components to create a responsive dial
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/empty.mdx b/apps/v4/content/docs/components/base/empty.mdx
index 7f5fa9363e..2ecdfaf391 100644
--- a/apps/v4/content/docs/components/base/empty.mdx
+++ b/apps/v4/content/docs/components/base/empty.mdx
@@ -131,11 +131,7 @@ You can add an `InputGroup` component to the `EmptyContent` component.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/field.mdx b/apps/v4/content/docs/components/base/field.mdx
index 20794a890e..f5e5ed3b70 100644
--- a/apps/v4/content/docs/components/base/field.mdx
+++ b/apps/v4/content/docs/components/base/field.mdx
@@ -162,7 +162,6 @@ Stack `Field` components with `FieldGroup`. Add `FieldSeparator` to divide them.
previewClassName="h-96"
/>
-
## RTL
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
@@ -186,8 +185,6 @@ To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl)
previewClassName="h-[650px] p-6 md:h-[500px] md:p-10"
/>
-
-
## Validation and Errors
- Add `data-invalid` to `Field` to switch the entire block into an error state.
@@ -358,4 +355,3 @@ Accessible error container that accepts children or an `errors` array (e.g., fro
When the `errors` array contains multiple messages, the component renders a list automatically.
`FieldError` also accepts issues produced by any validator that implements [Standard Schema](https://standardschema.dev/), including Zod, Valibot, and ArkType. Pass the `issues` array from the schema result directly to render a unified error list across libraries.
-
diff --git a/apps/v4/content/docs/components/base/input-otp.mdx b/apps/v4/content/docs/components/base/input-otp.mdx
index 04980097ea..f64f7d6666 100644
--- a/apps/v4/content/docs/components/base/input-otp.mdx
+++ b/apps/v4/content/docs/components/base/input-otp.mdx
@@ -146,11 +146,7 @@ Use `REGEXP_ONLY_DIGITS_AND_CHARS` to accept both letters and numbers.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/item.mdx b/apps/v4/content/docs/components/base/item.mdx
index bc4c9b8cca..a9b17e50c2 100644
--- a/apps/v4/content/docs/components/base/item.mdx
+++ b/apps/v4/content/docs/components/base/item.mdx
@@ -165,11 +165,7 @@ Use the `render` prop to render the item as a link. The hover and focus states w
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/kbd.mdx b/apps/v4/content/docs/components/base/kbd.mdx
index 296833e4bd..ee52f65116 100644
--- a/apps/v4/content/docs/components/base/kbd.mdx
+++ b/apps/v4/content/docs/components/base/kbd.mdx
@@ -83,11 +83,7 @@ You can use the `Kbd` component inside a `InputGroupAddon` component to display
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/label.mdx b/apps/v4/content/docs/components/base/label.mdx
index b0c991c8d3..a697e406d3 100644
--- a/apps/v4/content/docs/components/base/label.mdx
+++ b/apps/v4/content/docs/components/base/label.mdx
@@ -14,11 +14,7 @@ links:
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
For form fields, use the [Field](/docs/components/base/field) component which
diff --git a/apps/v4/content/docs/components/base/menubar.mdx b/apps/v4/content/docs/components/base/menubar.mdx
index 6e93609932..d81470267d 100644
--- a/apps/v4/content/docs/components/base/menubar.mdx
+++ b/apps/v4/content/docs/components/base/menubar.mdx
@@ -116,11 +116,7 @@ Use `MenubarSub`, `MenubarSubTrigger`, and `MenubarSubContent` for nested menus.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/pagination.mdx b/apps/v4/content/docs/components/base/pagination.mdx
index 2fb899e375..fe5105032a 100644
--- a/apps/v4/content/docs/components/base/pagination.mdx
+++ b/apps/v4/content/docs/components/base/pagination.mdx
@@ -132,8 +132,4 @@ const PaginationLink = ({...props }: ) => (
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
diff --git a/apps/v4/content/docs/components/base/popover.mdx b/apps/v4/content/docs/components/base/popover.mdx
index d7984d5eb0..c03e7805f2 100644
--- a/apps/v4/content/docs/components/base/popover.mdx
+++ b/apps/v4/content/docs/components/base/popover.mdx
@@ -103,11 +103,7 @@ A popover with form fields inside.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/progress.mdx b/apps/v4/content/docs/components/base/progress.mdx
index e3df43570d..4e683af40b 100644
--- a/apps/v4/content/docs/components/base/progress.mdx
+++ b/apps/v4/content/docs/components/base/progress.mdx
@@ -80,11 +80,7 @@ A progress bar that can be controlled by a slider.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/resizable.mdx b/apps/v4/content/docs/components/base/resizable.mdx
index 1e9a3ca027..cc00257185 100644
--- a/apps/v4/content/docs/components/base/resizable.mdx
+++ b/apps/v4/content/docs/components/base/resizable.mdx
@@ -96,11 +96,7 @@ Use the `withHandle` prop on `ResizableHandle` to show a visible handle.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/select.mdx b/apps/v4/content/docs/components/base/select.mdx
index f6f078bddc..1a366d5995 100644
--- a/apps/v4/content/docs/components/base/select.mdx
+++ b/apps/v4/content/docs/components/base/select.mdx
@@ -121,11 +121,7 @@ Add the `data-invalid` attribute to the `Field` component and the `aria-invalid`
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/separator.mdx b/apps/v4/content/docs/components/base/separator.mdx
index c9122e0aea..4b3ce305ab 100644
--- a/apps/v4/content/docs/components/base/separator.mdx
+++ b/apps/v4/content/docs/components/base/separator.mdx
@@ -86,11 +86,7 @@ Horizontal separators between list items.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/sidebar.mdx b/apps/v4/content/docs/components/base/sidebar.mdx
index f952671d88..6685663128 100644
--- a/apps/v4/content/docs/components/base/sidebar.mdx
+++ b/apps/v4/content/docs/components/base/sidebar.mdx
@@ -5,7 +5,12 @@ base: base
component: true
---
-
+
Sidebars are one of the most complex components to build. They are central
to any application and often contain a lot of moving parts.
diff --git a/apps/v4/content/docs/components/base/skeleton.mdx b/apps/v4/content/docs/components/base/skeleton.mdx
index 6aee8d47a9..1877d8bf74 100644
--- a/apps/v4/content/docs/components/base/skeleton.mdx
+++ b/apps/v4/content/docs/components/base/skeleton.mdx
@@ -83,8 +83,4 @@ import { Skeleton } from "@/components/ui/skeleton"
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
diff --git a/apps/v4/content/docs/components/base/slider.mdx b/apps/v4/content/docs/components/base/slider.mdx
index 8ecf547844..3cf7331b23 100644
--- a/apps/v4/content/docs/components/base/slider.mdx
+++ b/apps/v4/content/docs/components/base/slider.mdx
@@ -96,11 +96,7 @@ Use the `disabled` prop to disable the slider.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/spinner.mdx b/apps/v4/content/docs/components/base/spinner.mdx
index 98ead48fc5..d209690563 100644
--- a/apps/v4/content/docs/components/base/spinner.mdx
+++ b/apps/v4/content/docs/components/base/spinner.mdx
@@ -110,8 +110,4 @@ Add a spinner to a badge to indicate a loading state. Remember to use the `data-
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
diff --git a/apps/v4/content/docs/components/base/switch.mdx b/apps/v4/content/docs/components/base/switch.mdx
index c3fa9db444..8dad18fe18 100644
--- a/apps/v4/content/docs/components/base/switch.mdx
+++ b/apps/v4/content/docs/components/base/switch.mdx
@@ -96,11 +96,7 @@ Use the `size` prop to change the size of the switch.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/table.mdx b/apps/v4/content/docs/components/base/table.mdx
index 50a1674ebd..6b0ba49b19 100644
--- a/apps/v4/content/docs/components/base/table.mdx
+++ b/apps/v4/content/docs/components/base/table.mdx
@@ -109,8 +109,4 @@ You can also see an example of a data table in the [Tasks](/examples/tasks) demo
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
diff --git a/apps/v4/content/docs/components/base/textarea.mdx b/apps/v4/content/docs/components/base/textarea.mdx
index 4cc455b2eb..ea3c4f565b 100644
--- a/apps/v4/content/docs/components/base/textarea.mdx
+++ b/apps/v4/content/docs/components/base/textarea.mdx
@@ -103,8 +103,4 @@ Pair with `Button` to create a textarea with a submit button.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
diff --git a/apps/v4/content/docs/components/base/toggle.mdx b/apps/v4/content/docs/components/base/toggle.mdx
index 9fecb5ea75..40c661a396 100644
--- a/apps/v4/content/docs/components/base/toggle.mdx
+++ b/apps/v4/content/docs/components/base/toggle.mdx
@@ -88,11 +88,7 @@ Use the `size` prop to change the size of the toggle.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/base/tooltip.mdx b/apps/v4/content/docs/components/base/tooltip.mdx
index 3000d27471..3bddb8a40c 100644
--- a/apps/v4/content/docs/components/base/tooltip.mdx
+++ b/apps/v4/content/docs/components/base/tooltip.mdx
@@ -93,11 +93,7 @@ Show a tooltip on a disabled button by wrapping it with a span.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/badge.mdx b/apps/v4/content/docs/components/radix/badge.mdx
index 52c645def4..87ad710a6d 100644
--- a/apps/v4/content/docs/components/radix/badge.mdx
+++ b/apps/v4/content/docs/components/radix/badge.mdx
@@ -85,11 +85,7 @@ You can customize the colors of a badge by adding custom classes such as `bg-gre
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/button.mdx b/apps/v4/content/docs/components/radix/button.mdx
index 75746ddce1..10d6fecdd2 100644
--- a/apps/v4/content/docs/components/radix/button.mdx
+++ b/apps/v4/content/docs/components/radix/button.mdx
@@ -145,11 +145,7 @@ You can use the `asChild` prop on `` to make another component look li
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/combobox.mdx b/apps/v4/content/docs/components/radix/combobox.mdx
index a52b622cc0..fc64dd3fed 100644
--- a/apps/v4/content/docs/components/radix/combobox.mdx
+++ b/apps/v4/content/docs/components/radix/combobox.mdx
@@ -260,11 +260,7 @@ You can add an addon to the combobox by using the `InputGroupAddon` component in
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/dialog.mdx b/apps/v4/content/docs/components/radix/dialog.mdx
index 43aa48c249..032834b76d 100644
--- a/apps/v4/content/docs/components/radix/dialog.mdx
+++ b/apps/v4/content/docs/components/radix/dialog.mdx
@@ -115,11 +115,7 @@ Long content can scroll while the header stays in view.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/drawer.mdx b/apps/v4/content/docs/components/radix/drawer.mdx
index 36c16126e6..3f50d10f1b 100644
--- a/apps/v4/content/docs/components/radix/drawer.mdx
+++ b/apps/v4/content/docs/components/radix/drawer.mdx
@@ -112,11 +112,7 @@ You can combine the `Dialog` and `Drawer` components to create a responsive dial
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/empty.mdx b/apps/v4/content/docs/components/radix/empty.mdx
index c24cd45b73..89a01bb5fa 100644
--- a/apps/v4/content/docs/components/radix/empty.mdx
+++ b/apps/v4/content/docs/components/radix/empty.mdx
@@ -131,11 +131,7 @@ You can add an `InputGroup` component to the `EmptyContent` component.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/field.mdx b/apps/v4/content/docs/components/radix/field.mdx
index 998c3d17ca..be3eb4e6b0 100644
--- a/apps/v4/content/docs/components/radix/field.mdx
+++ b/apps/v4/content/docs/components/radix/field.mdx
@@ -162,7 +162,6 @@ Stack `Field` components with `FieldGroup`. Add `FieldSeparator` to divide them.
previewClassName="h-96"
/>
-
## RTL
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
@@ -186,7 +185,6 @@ To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl)
previewClassName="h-[650px] p-6 md:h-[500px] md:p-10"
/>
-
## Validation and Errors
- Add `data-invalid` to `Field` to switch the entire block into an error state.
@@ -357,4 +355,3 @@ Accessible error container that accepts children or an `errors` array (e.g., fro
When the `errors` array contains multiple messages, the component renders a list automatically.
`FieldError` also accepts issues produced by any validator that implements [Standard Schema](https://standardschema.dev/), including Zod, Valibot, and ArkType. Pass the `issues` array from the schema result directly to render a unified error list across libraries.
-
diff --git a/apps/v4/content/docs/components/radix/input-otp.mdx b/apps/v4/content/docs/components/radix/input-otp.mdx
index e2792e35d9..f4ec29276b 100644
--- a/apps/v4/content/docs/components/radix/input-otp.mdx
+++ b/apps/v4/content/docs/components/radix/input-otp.mdx
@@ -146,11 +146,7 @@ Use `REGEXP_ONLY_DIGITS_AND_CHARS` to accept both letters and numbers.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/item.mdx b/apps/v4/content/docs/components/radix/item.mdx
index 2a96d75575..f0d8939ab2 100644
--- a/apps/v4/content/docs/components/radix/item.mdx
+++ b/apps/v4/content/docs/components/radix/item.mdx
@@ -167,11 +167,7 @@ Use the `asChild` prop to render the item as a link. The hover and focus states
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/kbd.mdx b/apps/v4/content/docs/components/radix/kbd.mdx
index a77a296d65..a4a408a398 100644
--- a/apps/v4/content/docs/components/radix/kbd.mdx
+++ b/apps/v4/content/docs/components/radix/kbd.mdx
@@ -83,11 +83,7 @@ You can use the `Kbd` component inside a `InputGroupAddon` component to display
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/label.mdx b/apps/v4/content/docs/components/radix/label.mdx
index 3db99969ee..927635cde4 100644
--- a/apps/v4/content/docs/components/radix/label.mdx
+++ b/apps/v4/content/docs/components/radix/label.mdx
@@ -14,11 +14,7 @@ links:
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
For form fields, use the [Field](/docs/components/radix/field) component which
diff --git a/apps/v4/content/docs/components/radix/menubar.mdx b/apps/v4/content/docs/components/radix/menubar.mdx
index 81d3fb0f61..e6f34b3e98 100644
--- a/apps/v4/content/docs/components/radix/menubar.mdx
+++ b/apps/v4/content/docs/components/radix/menubar.mdx
@@ -116,11 +116,7 @@ Use `MenubarSub`, `MenubarSubTrigger`, and `MenubarSubContent` for nested menus.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/popover.mdx b/apps/v4/content/docs/components/radix/popover.mdx
index 4e69b54794..7636e1a798 100644
--- a/apps/v4/content/docs/components/radix/popover.mdx
+++ b/apps/v4/content/docs/components/radix/popover.mdx
@@ -103,11 +103,7 @@ A popover with form fields inside.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/progress.mdx b/apps/v4/content/docs/components/radix/progress.mdx
index fe26ab08fb..0662b4dd9b 100644
--- a/apps/v4/content/docs/components/radix/progress.mdx
+++ b/apps/v4/content/docs/components/radix/progress.mdx
@@ -80,11 +80,7 @@ A progress bar that can be controlled by a slider.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/resizable.mdx b/apps/v4/content/docs/components/radix/resizable.mdx
index f79138ace2..7eb8442fd8 100644
--- a/apps/v4/content/docs/components/radix/resizable.mdx
+++ b/apps/v4/content/docs/components/radix/resizable.mdx
@@ -96,11 +96,7 @@ Use the `withHandle` prop on `ResizableHandle` to show a visible handle.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/select.mdx b/apps/v4/content/docs/components/radix/select.mdx
index eedc3eb2fa..e20ba4e821 100644
--- a/apps/v4/content/docs/components/radix/select.mdx
+++ b/apps/v4/content/docs/components/radix/select.mdx
@@ -121,11 +121,7 @@ Add the `data-invalid` attribute to the `Field` component and the `aria-invalid`
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/separator.mdx b/apps/v4/content/docs/components/radix/separator.mdx
index 489fb367eb..8c342d2403 100644
--- a/apps/v4/content/docs/components/radix/separator.mdx
+++ b/apps/v4/content/docs/components/radix/separator.mdx
@@ -86,11 +86,7 @@ Horizontal separators between list items.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/skeleton.mdx b/apps/v4/content/docs/components/radix/skeleton.mdx
index 5df7be5d11..4800170062 100644
--- a/apps/v4/content/docs/components/radix/skeleton.mdx
+++ b/apps/v4/content/docs/components/radix/skeleton.mdx
@@ -83,8 +83,4 @@ import { Skeleton } from "@/components/ui/skeleton"
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
diff --git a/apps/v4/content/docs/components/radix/slider.mdx b/apps/v4/content/docs/components/radix/slider.mdx
index f89ba971a0..9aa21ea790 100644
--- a/apps/v4/content/docs/components/radix/slider.mdx
+++ b/apps/v4/content/docs/components/radix/slider.mdx
@@ -96,11 +96,7 @@ Use the `disabled` prop to disable the slider.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/spinner.mdx b/apps/v4/content/docs/components/radix/spinner.mdx
index cdfa82a980..eff7fd6431 100644
--- a/apps/v4/content/docs/components/radix/spinner.mdx
+++ b/apps/v4/content/docs/components/radix/spinner.mdx
@@ -110,8 +110,4 @@ Add a spinner to a badge to indicate a loading state. Remember to use the `data-
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
diff --git a/apps/v4/content/docs/components/radix/switch.mdx b/apps/v4/content/docs/components/radix/switch.mdx
index 1a6648656d..fb7f75a31f 100644
--- a/apps/v4/content/docs/components/radix/switch.mdx
+++ b/apps/v4/content/docs/components/radix/switch.mdx
@@ -96,11 +96,7 @@ Use the `size` prop to change the size of the switch.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/table.mdx b/apps/v4/content/docs/components/radix/table.mdx
index e8dc0db5b6..45b99f22dd 100644
--- a/apps/v4/content/docs/components/radix/table.mdx
+++ b/apps/v4/content/docs/components/radix/table.mdx
@@ -109,8 +109,4 @@ You can also see an example of a data table in the [Tasks](/examples/tasks) demo
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
diff --git a/apps/v4/content/docs/components/radix/textarea.mdx b/apps/v4/content/docs/components/radix/textarea.mdx
index 24b3e5a710..1c031e8279 100644
--- a/apps/v4/content/docs/components/radix/textarea.mdx
+++ b/apps/v4/content/docs/components/radix/textarea.mdx
@@ -103,8 +103,4 @@ Pair with `Button` to create a textarea with a submit button.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
diff --git a/apps/v4/content/docs/components/radix/toggle.mdx b/apps/v4/content/docs/components/radix/toggle.mdx
index 657aa8798a..e46a1b7489 100644
--- a/apps/v4/content/docs/components/radix/toggle.mdx
+++ b/apps/v4/content/docs/components/radix/toggle.mdx
@@ -88,11 +88,7 @@ Use the `size` prop to change the size of the toggle.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/content/docs/components/radix/tooltip.mdx b/apps/v4/content/docs/components/radix/tooltip.mdx
index 9a69ac2e88..526e02a9f2 100644
--- a/apps/v4/content/docs/components/radix/tooltip.mdx
+++ b/apps/v4/content/docs/components/radix/tooltip.mdx
@@ -93,11 +93,7 @@ Show a tooltip on a disabled button by wrapping it with a span.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).
-
+
## API Reference
diff --git a/apps/v4/examples/base/hover-card-rtl.tsx b/apps/v4/examples/base/hover-card-rtl.tsx
index d2e0e7ae4a..9af694a664 100644
--- a/apps/v4/examples/base/hover-card-rtl.tsx
+++ b/apps/v4/examples/base/hover-card-rtl.tsx
@@ -51,7 +51,11 @@ export function HoverCardRtl() {
>
{t.trigger}
-
+
{t.name}
{t.price}
diff --git a/apps/v4/examples/base/tooltip-rtl.tsx b/apps/v4/examples/base/tooltip-rtl.tsx
index 2b29f5612c..2061d5d566 100644
--- a/apps/v4/examples/base/tooltip-rtl.tsx
+++ b/apps/v4/examples/base/tooltip-rtl.tsx
@@ -45,9 +45,7 @@ export function TooltipRtl() {
} dir={dir}>
{t.trigger}
-
- {t.content}
-
+ {t.content}
)
}
diff --git a/apps/v4/examples/base/ui-rtl/accordion.tsx b/apps/v4/examples/base/ui-rtl/accordion.tsx
index e701c65ce7..663fd2622f 100644
--- a/apps/v4/examples/base/ui-rtl/accordion.tsx
+++ b/apps/v4/examples/base/ui-rtl/accordion.tsx
@@ -1,8 +1,8 @@
"use client"
+import { cn } from "@/examples/base/lib/utils"
import { Accordion as AccordionPrimitive } from "@base-ui/react/accordion"
-import { cn } from "@/examples/base/lib/utils"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
function Accordion({ className, ...props }: AccordionPrimitive.Root.Props) {
@@ -35,7 +35,7 @@ function AccordionTrigger({