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 appear in the card below.


Design

BBA Career Pathways - initial view

Source: BBA Majors

Career Pathways - option selected


Use When

Editorial Guidelines

Follow our general Web Copy General Guidelines in addition to the following:

Dropdown items

Supporting content (card content for each dropdown item)

Placeholder content (optional)

Design Assets Needed

Images

Supporting images (optional)

Custom background pattern

Implementation

ACF 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>


Resources