macro-carousel

Year
2018
Client
Personal
Link
View project

Description

<macro-carousel> is a vanilla Web Component that I created and maintained to this day. Its main features are:

  • Compatible with every framework

  • Public APIs exposed as methods, events and properties/attributes

  • Mouse and touch events

  • Previous and next buttons

  • Pagination indicators

  • Multiple slides per view

  • Customisable styles though CSS custom properties

  • Focused on a11y

  • no external dependencies

  • <8kb gzipped

The code can be found on Github.

Media