slide-element

A small (~600b gzipped) library for hiding & showing elements in a sliding fashion using native CSS animations.

Code Examples

Slide Elements Down

Slide Elements Up

Toggle Elements

Looking for a more interactive, tweakable demo? Here's a CodePen


Installation Options

npm install slide-element
or via CDN

Want More Info?

Read the Docs

Find This Useful?

Star it on GitHub! Star