Button
Buttons with Paper Cut's 4-level elevation system. Default is outlined (Level 2) for most use cases.
Basic Usage
The default button uses outlined (Level 2) - border-only at rest, with a subtle lift + shadow on hover. Suitable for most interactions.
Elevation Levels
Four levels for different contexts. Choose based on importance and nesting.
Elevated (Level 4)
Strong shadow with lift animation. For Landing Page CTAs and hero sections. Use cta size for larger buttons.
Default (Level 3)
Medium shadow with lift. For standalone buttons that need presence.
Outlined (Level 2) - Default
Border-only at rest, lifting to a subtle shadow on hover. The most common variant for general use.
Flat (Level 1)
No shadow at rest, minimal styling. Use inside Cards or other elevated containers.
Sizes
Icon Buttons
Composition
Buttons can include icons on either side.
States
Disabled
Loading
Best Practices
The key principle: match button elevation to context. Use flat variants inside containers, elevated variants for hero CTAs.
Landing Page CTA
Use elevated + cta size for maximum visual impact on hero sections.
Inside Card
Use flat variants to respect the elevation budget.
General Use
For most cases, the default outlined variant provides clean, functional buttons.
Anti-patterns
Common mistakes to avoid. Don't use elevated buttons inside elevated containers.
API Reference
Button component with Paper Cut's 4-level elevation system.
Props
variantSee elevation tableButton style and elevation levelsize"sm" | "default" | "lg" | "cta" | "icon-*"Button sizeloadingbooleanShow loading spinnerasChildbooleanRender as child element (Slot)Elevation Variants
elevated, elevated-primary, elevated-secondary, elevated-destructiveLanding CTA, hero sectionsdefault, primary, secondary, destructiveStandalone with presenceoutlined, outlined-*, outlineGeneral use (default)flat, flat-*, ghost, linkInside containers