Skip to main content

Right-to-left support

Supports right-to-left text layout for languages that require it.

Example

import { toast, Toaster } from "@toastup/react";
import "@toastup/react/style";

export function RtlExample() {
const handleClick = () => toast.add({ rtl: true });
return (
<div>
<button onClick={handleClick}>Add toast</button>
<Toaster />
</div>
);
}