Accordion
Expandable content sections with Paper Cut's 4-level elevation system.
Basic Usage
The default accordion uses default (Level 3) elevation with medium shadow and lift, suitable for general containers and panels.
Variants
Four elevation levels for different contexts. Choose based on the component's role in the interface hierarchy.
Elevated (Level 4)
Strong shadow with lift animation. For Landing Pages, Hero sections, and spotlight moments.
Default (Level 3)
Medium shadow with a moderate lift. The standard choice for general containers and panels.
Outlined (Level 2)
Border at rest, subtle lift on interaction. Lightweight and clean for dense layouts.
Flat (Level 1)
No border, no shadow. For nesting inside Cards or other elevated containers.
Lift Control
Lift is enabled by default for elevated, default, and outlined. Disable it in dense layouts with lift={false}.
Composition
Internal controls (Button, Badge) should use flat styling to respect the elevation budget.
$29/month
- Unlimited projects
- Priority support
Best Practices
Real-world scenarios demonstrating proper elevation budget allocation. The key principle: one region should have only one "hero" — the outer container owns the elevation while inner controls remain flat.
Landing Page FAQ
Use elevated for maximum visual impact on marketing pages.
Settings Panel
Use outlined for functional areas with minimal visual noise.
Display Name
Your public profile name
Nested in Card
Use flat when the container already owns elevation.
Help Center
Anti-patterns
Common mistakes to avoid when using accordions. The primary concern is elevation budget — stacking multiple elevated containers creates visual noise and breaks the Paper Cut hierarchy.
API Reference
The Accordion component is built on top of Radix UI Accordion primitive with Paper Cut's 4-level elevation system.
Accordion
type"single" | "multiple"Allow single or multiple items to be opencollapsiblebooleanAllow all items to be collapsed (single mode only)variant"elevated" | "default" | "outlined" | "flat"Elevation level (Level 4, 3, 2, 1)liftbooleanEnable/disable lift interaction (defaults to on except flat)Elevation Levels
elevatedLevel 4Strong + liftLanding pages, hero sectionsdefaultLevel 3Medium + liftGeneral containers, panelsoutlinedLevel 2Border + subtle liftSidebars, settings, dense layoutsflatLevel 1NoneNested inside elevated containers