edbnedbn/ui
Get Started
WelcomeChoosing a VariantChangelogLicense
Components
OverviewButtonAlert DialogPopoverDropdown MenuPull Down MenuSheet
Motion Utilities
Motion ProviderSpring PresetsHooks
0installs
ComponentsBlocksMaps
HomeDocsComponentsStatic

On this page

Static Components

Same components, CSS animations instead of spring physics.

The Trade-off

Static components drop the motion dependency (~15KB gzipped). Animations still exist—they're just CSS transitions instead of spring physics. Most users won't notice the difference. You might, if you're picky about how a modal scales in.

The API is identical. Switch by changing your import path from @/components/ui/animated to @/components/ui/static.

Components

ButtonAlert DialogPopoverDropdown MenuPull Down MenuSheet

Size Comparison

ComponentAnimatedStatic
Button~18KB~3KB
Alert Dialog~22KB~5KB
Popover~20KB~4KB

The motion library is shared across animated components. After the first import, marginal cost drops.

Want spring physics? Animated components →