Displays a button or a component that looks like a button.
import { Button } from "@/components/ui/button"; import { ChevronDown } from "lucide-react"; function SplitButton() { return ( <div className="flex -space-x-px"> <Button variant="outline" className="rounded-r-none"> Send Now </Button> <Button variant="outline" className="rounded-l-none"> <ChevronDown className="size-4" /> </Button> </div> ); } export { SplitButton }
Part of shadcn/ui — browse the full library on 21st.dev.