Skip to main content

Views Flexbox: Drupal 8 views style plugin

Drupal 8 Flexbox

We're not entirely convinced that a View Flexbox plugin is required - it's a fairly simple matter to apply Flex attributes to view container divs and views row items, and get the desired result. Furthermore, you could theoretically achieve much of the work Flexbox requires by using the Views Bootstrap plugin, and overriding a few of its templates.

But where's the fun in that? So we've committed a very early version of a formal Views Flexbox plug-in at Github. The CSS included at the repo is very closely based on Lee Jordan's Reflex project.

We'll update this article with details about the modules capabilities and limitations. In the meantime we invite anyone interested to experiment with the module, suggest improvements, or fork the code. Eventually, if there is a demand, we'll start the process of posting this little project to as a formal module.