The code, from the developer / designer’s point of view, is really lean with very little required given what the result is. Whilst it is, of course, possible to make an accordion from scratch, Bootstrap 4 makes it super easy. Generally an accordion will improve the user experience (UX) of your site when used correctly so it is a great component to add to your skill set. It also allows users to very easily access the information they are interested in without having to scroll to it.Īs web designers / developers we should all be concerning ourselves with how our users will interact with our creations.
Hiding the majority of the content in a collapsed window prevents information overload for users. A basic accordion created with Bootstrap 4 cards Why Use An Accordion?Īn accordion is a great way to bring together related content.