Also known as: selector, picker, card with dropdown

Description

A block with a dropdown selector which allows the user to select a topic and see more details about it appear on the page.

Design

Displays a dynamic card with a dropdown/select element. The card content below the dropdown updates as the user chooses a different select item. This block utilizes the Web 2.0 (and UX) principle of progressive disclosure, which means showing a little content at first and allowing the user to see more if they choose to interact with the block.


No background and a gray card

With light dimensional lines bg pattern

With custom bg pattern

Use Cases

Fields

Add/Edit Content

Disable first item in dropdown? 

Dropdown content (repeater)

Introduction and Footer sections

Configuration


Code Templates for Card Content

Supporting content is added in a WYSIWYG field, so you'll need to add HTML elements with classes for styling. Copy the code below for the content you need:

Image + Text (2 column flexbox layout, responsive)


<div class="d-md-flex flex-md-row">
    <div class="flex-md-fill mb-5 mb-md-0">
        <h3>Subhead</h3>
        <p class="lead">Large copy</p>
		<p>Normal copy</p>

        <h3 class="mt-4">Subhead</h3>
        <span class="lead"><a href="#">Link</a>, <a href="#">Link</a>, or <a href="#">Link</a></span>
    </div>

    <div class="flex-md-shrink-0 ps-md-5" style="flex-basis: 50%;">
        <img src="#" alt="ADD ALT TEXT HERE" class="img-fluid brand-border-radius" />
    </div>
</div>