Skins UI

Edge button

A solid face set in a thin plate, like a key in its frame.

Customize

Props
Variant
Size
Icon

Installation

npx shadcn@latest add https://skinsui.dev/r/button-edge.json

Usage

usage.tsx
import { Button } from "@/components/skins/button-edge";<Button>Deploy skin</Button>

Props

  • 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
    boolean

    Keeps the width, blocks clicks, shows a spinner and tells screen readers the button is busy.

  • disabledfalse
    boolean

    Dims it and blocks interaction.

  • iconNone
    ReactNode

    An icon before the label.

  • iconRightNone
    ReactNode

    An icon after the label.

  • fullWidthfalse
    boolean

    Fills the width of its container.

  • hrefNone
    string

    Renders a link that looks like the button.