Skip to Content
🎉Introducing Pumki UI
ComponentsButtonsStandard

Btn-standard

Pumki UIPumki UI

Buttons With Icon

Installation

Usage


import { Button } from '@/components/pumki-ui/buttons/btn-standard.tsx';

<Button />

Example

As Input

Pumki UIPumki UI

Props

PropTypeDefaultDescription
classNamestring-Custom CSS classes for the button.
selectedboolean-Marks the button as selected (sets data-state=“open”).
variant’primary’ | ‘mono’ | ‘destructive’ | ‘secondary’ | ‘outline’ | ‘dashed’ | ‘ghost’ | ‘dim’ | ‘foreground’ | ‘inverse''primary’Visual style of the button.
shape’default’ | ‘circle''default’Shape of the button (default or circle).
appearance’default’ | ‘ghost''default’Appearance style of the button.
mode’default’ | ‘icon’ | ‘link’ | ‘input''default’Button mode (standard, icon, link, input).
size’lg’ | ‘md’ | ‘sm’ | ‘icon''md’Size of the button.
autoHeightbooleanfalseIf true, button height is set to auto.
underlined’solid’ | ‘dashed’-Underline style for link mode.
underline’solid’ | ‘dashed’-Underline style for link mode (hover).
asChildbooleanfalseRenders as a child component (Radix Slot).
placeholderbooleanfalseApplies muted foreground color for input mode.
iconLucideIcon-Lucide icon to display in the button (for ButtonArrow).
…propsAll native button props-Any other props for the HTML <button> element.
Last updated on