Preview
Props
Install
npx shadcn@latest add @evilbuttons/minimalUsage
import MinimalButton from "@/components/evil-buttons/minimal";
export function ButtonDemo() {
return <MinimalButton>Browse components</MinimalButton>;
}Variants
No arrow
Props
The component spreads native button props and forwards its ref to the button.
| Prop | Type | Default | Description |
|---|---|---|---|
children | React.ReactNode | - | The button label. |
arrow | boolean | true | Show a trailing chevron that nudges forward on hover. |
className | string | - | Extra classes passed to the button. |
Good to know
- One layered
box-shadow, no wrapper elements. - Stays dark in both themes.