slide-element

A small (< 750 bytes gzipped) library for hiding & showing elements in a sliding fashion using the Web Animations API.

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