Library of The Week: SweetAlert

I have already written about Vex, a library for creating modal dialogs. This week let's take a look at SweetAlert, which is very similar to Vex. SweetAlert bills itself as "a beautiful replacement for JavaScript's 'alert'", but the word "alert" in this statement is a bit misleading. For me, an…

Library of The Week: Highland.js

A few weeks ago, writing about the increasingly obsolete Async.js, I promised to talk about Highland.js. This library is by Caolan McMahon, who also wrote Async.js, and can be considered its successor. Highland can be used as an alternative to promises for handling asynchronous actions, but its…

Library of The Week: spin.js

The spinning throbber is a standard UI element displayed on many websites when waiting for Ajax responses or other long-running operations. For a design-heavy marketing website, your graphic designer will probably tailor a fancy custom loading indicator. In other cases, a stock component is good enough. One solution is use…

Library of the Week: Autosize

Among other things, good user interface design means choosing the right size for form elements. Make a textarea too small, and the user won't have an overview of the text they are entering. It is especially hard to navigate around the text and modify it in this case. On the…

Library of The Week: Packery

Arranging differently sized items in a grid has been always a challenge. This is especially true if you want column-based layout because document flow is inherently row-oriented. There is promising solution that uses pure CSS: Flexbox. The only problem is that it only works in modern browsers. To support older…