Components
Button
Displays either a standard button or a component that behaves like one
Installation
npx shadcn@latest add @dr-ui/buttonRegistry dependencies
@dr-ui/utils
Dependencies
@radix-ui/react-slot@^1.2.4
class-variance-authority@^0.7.1
Variants
All available button variants.
Disabled
All variants in the disabled state.
Icon buttons
Use the icon or iconSm size for square buttons that contain only an icon.
Sizes
Use the size prop to control button height and padding.
With icon
Place an icon alongside the label to add visual context.