button-style-with-icon

PreviousNext
Docs
retrouiblock

Preview

Loading preview…
preview/components/button-style-with-icon.tsx
import { Button } from "@/components/retroui/Button";
import { Trash } from "lucide-react";

export default function ButtonStyleWithIcon() {
  return (
    <Button className="bg-destructive text-white hover:bg-destructive/90">
      <Trash className="h-4 w-4 mr-2" /> Delete
    </Button>
  );
}

Installation

npx shadcn@latest add @retroui/button-style-with-icon

Usage

import { ButtonStyleWithIcon } from "@/components/button-style-with-icon"
<ButtonStyleWithIcon />