Components
Loading preview...
Enhanced shadcn/ui button
npx shadcn@latest add https://21st.dev/r/originui/buttonimport { Button } from "@/components/ui/button";
import { SquareArrowOutUpRight } from "lucide-react";
function Component() {
return (
<div className="inline-flex -space-x-px rounded-lg shadow-sm shadow-black/5 rtl:space-x-reverse">
<Button
className="rounded-none shadow-none first:rounded-s-lg last:rounded-e-lg focus-visible:z-10"
variant="outline"
>
Preview
</Button>
<Button
className="rounded-none shadow-none first:rounded-s-lg last:rounded-e-lg focus-visible:z-10"
variant="outline"
size="icon"
aria-label="Open link"
>
<SquareArrowOutUpRight size={16} strokeWidth={2} aria-hidden="true" />
</Button>
</div>
);
}
export { Component };