πŸ”About SA5's Elements Lib

About the SA5 Elements Library

SA5 Elements is a new library ( Aug 2023 ) that centralizes all of our Smart Webflow Elements, and other custom elements we've created.

Currently this lib focuses on;

  1. Providing JS API's for Webflow's existing elements, where it's useful. Change tabs, navigate the slider, disable buttons, etc.

  2. Capturing key events that you can respond to in custom code, like a slide or tab change- whether it was done by a user, or automatically ( auto-slides ), or by script.

  3. Adding functionality where it's missing, such as Lightbox captions from the CMS.

  4. Adding new elements, such as the Accordion, where it's useful

Deck Elements

We’re evolving a standardized β€œdeck” interface for elements which share a deck-style UI. We define that as card-style UX where generally only one card is visible or β€œprimary” at a time;

  • Tabs elements

  • Slider elements

  • Accordion elements ( custom )

  • Tinder-style decks ( custom )

All of these share the same base API for next, prev, first, etc. This way the element can be changed out without needing to rewrite your code.

See the Deck Controller for easy nocode navigation of Tabs and Slider elements.

Future

We're considering the possibility of variant UX's that are based on existing elements. For example;

  • Steppers ( or Progress Steps ) designed specifically for wizard style multi-step forms. Would likely be based on Tabs, or our Accordion.

  • Card stacks, which are swiped. Based on carousel, but with a different visual UX more like a tinder deck, with events for yes, no, favorite, and a down swipe, and possibly UX for card info or a tap to flip effect.

Last updated