Outline button
A crisp line in a pill. Hover fills it solid.
Customize
Props
Variant
Size
Icon
Installation
npx shadcn@latest add https://skinsui.dev/r/button-outline.jsonUsage
usage.tsx
import { Button } from "@/components/skins/button-outline";<Button>Deploy skin</Button>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "primary" | "secondary" | "ghost" | "danger" | "primary" | Danger is only for actions that destroy something. |
| size | "sm" | "md" | "lg" | "md" | 32, 40 or 48 pixels tall. |
| loading | boolean | false | Keeps the width, blocks clicks, shows a spinner and tells screen readers the button is busy. |
| disabled | boolean | false | Dims it and blocks interaction. |
| icon | ReactNode | None | An icon before the label. |
| iconRight | ReactNode | None | An icon after the label. |
| fullWidth | boolean | false | Fills the width of its container. |
| href | string | None | Renders a link that looks like the button. |
- variant"primary"
"primary" | "secondary" | "ghost" | "danger"Danger is only for actions that destroy something.
- size"md"
"sm" | "md" | "lg"32, 40 or 48 pixels tall.
- loadingfalse
booleanKeeps the width, blocks clicks, shows a spinner and tells screen readers the button is busy.
- disabledfalse
booleanDims it and blocks interaction.
- iconNone
ReactNodeAn icon before the label.
- iconRightNone
ReactNodeAn icon after the label.
- fullWidthfalse
booleanFills the width of its container.
- hrefNone
stringRenders a link that looks like the button.