HomeStylesTemplates
StyleKit
StylesRecipesGuidesAnimationsTemplates
  1. Home
  2. /Animations
  3. /Slide Swap
Back to Animations

Slide Swap

滑动切换

Content swaps with a horizontal slide: old slides out left while new slides in from the right.

TransitionManualIntermediateGPU Accelerated

Preview

Code

Duration

400ms

Easing

cubic-bezier(0.16, 1, 0.3, 1)

CSS Properties

opacity, transform

Use Cases

  • Step wizard navigation
  • Carousel slide transition
  • Tab panel switching
  • Onboarding flow steps

Related Animations

crossfadeslide-in-leftslide-in-right

StyleKit

A curated web design style library to help AI generate better-looking websites.

Navigation

StylesTemplatesCommunityGuideBlogChangelog

Resources

UI Design PromptsLanding Page PromptsDashboard PromptsTailwind UI PromptsDark Mode UI PromptsGitHub Repository

Stay Updated

By subscribing, you agree to our Privacy Policy and Terms.


Support Maintenance

If StyleKit helps your workflow, voluntary support helps cover servers, domains, and ongoing upkeep.

Scan to support / View all options

(c) 2026 StyleKit. Open source project.

AboutContactPrivacyTermsBuilt with the Editorial style
Stylekit前端样式库stylekit.top陕ICP备2025065501号-3