HomeStylesTemplates
StyleKit
StylesTemplates
  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.

FeedbackSupport Maintenance
Explore+
StylesTemplatesAnimationsResource LibraryPromptsCollections
Learn+
FoundationsGuideRecipesChangelogBlog
Trust+
AboutContactPrivacyTermsSupport UsRefunds

(c) 2026 StyleKit. Open source project.

闄旾CP澶?025065501鍙?3

Colophon/SK — 2026

Built with the Editorial style

01FeedbackTell us what could work better02Support MaintenanceIf StyleKit helps your workflow, voluntary support helps cover servers, domains, and ongoing upkeep.

StyleKit

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

GitHub Repository

Explore

StylesTemplatesAnimationsResource LibraryPromptsCollections

Learn

FoundationsGuideRecipesChangelogBlog

Dispatch

Get notified when new styles, templates and tools ship.

Stay Updated

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

(c) 2026 StyleKit. Open source project.

AboutContactPrivacyTermsSupport UsRefunds/陕ICP备2025065501号-3

StyleKit