Examples
Complete cards you can copy and fill with your own content.
AI Agent Tool Examples
Cards that an AI Agent tool can show in a chat: a time picker, a time picker, a form, a status, a list and a contact. They use only classes from the Pathify stylesheet. Copy a card and replace the content.
The date field needs the CSS and the script from the Date Input on the Inputs page.
Whitman Hall Tours
Meet at the Whitman Hall front desk
Thursday, Nov 5
Friday, Nov 6
View codeHide code
<div class="ba bg-white pa-16 rounded-double mx-auto" style="max-width: 700px;">
<h3 class="text-bold">Whitman Hall Tours</h3>
<p class="align-items-center d-flex gap-4 mb-24 mt-4 text-md text-quiet"><svg class="icon size-14" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h2v-3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v3h2a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zm12 20a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H6a3 3 0 0 0-3 3v16a3 3 0 0 0 3 3zm-4-2v-2h-4v2zM7 6a1 1 0 0 1 1-1h.01a1 1 0 0 1 0 2H8a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1zm-8 4a1 1 0 0 1 1-1h.01a1 1 0 0 1 0 2H8a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1zm-8 4a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1z" fill-rule="evenodd"/></svg>Meet at the Whitman Hall front desk</p>
<div class="d-flex flex-column gap-24 mb-24" role="radiogroup" aria-label="Tour time" data-choice-picker>
<div role="group" aria-labelledby="tour-thu">
<p id="tour-thu" class="mb-8">Thursday, Nov 5</p>
<div class="d-flex flex-wrap gap-8">
<button type="button" role="radio" aria-checked="false" tabindex="-1" class="btn md secondary"><span>10–10:30 AM</span></button>
<button type="button" role="radio" aria-checked="false" tabindex="-1" class="btn md secondary"><span>11–11:30 AM</span></button>
<button type="button" role="radio" aria-checked="true" class="btn md primary"><span>2–2:30 PM</span></button>
<button type="button" role="radio" aria-checked="false" tabindex="-1" class="btn md secondary"><span>3:30–4 PM</span></button>
</div>
</div>
<div role="group" aria-labelledby="tour-fri">
<p id="tour-fri" class="mb-8">Friday, Nov 6</p>
<div class="d-flex flex-wrap gap-8">
<button type="button" role="radio" aria-checked="false" tabindex="-1" class="btn md secondary"><span>9–9:30 AM</span></button>
<button type="button" role="radio" aria-checked="false" tabindex="-1" class="btn md secondary"><span>1:30–2 PM</span></button>
</div>
</div>
</div>
<button type="button" class="btn md secondary w-100"><span>Show More Times</span></button>
</div>
// Choice pickers ([role=radiogroup][data-choice-picker]): buttons with role="radio". The checked
// option is .primary, the others .secondary. Arrow keys move the selection, like native radio buttons.
document.querySelectorAll("[data-choice-picker]").forEach((group) => {
const options = [...group.querySelectorAll("[role=radio]")];
const select = (option, focus) => {
options.forEach((o) => {
const on = o === option;
o.setAttribute("aria-checked", String(on));
o.tabIndex = on ? 0 : -1;
o.classList.toggle("primary", on);
o.classList.toggle("secondary", !on);
});
if (focus) option.focus();
};
options.forEach((o, i) => {
o.addEventListener("click", () => select(o));
o.addEventListener("keydown", (e) => {
const step = { ArrowRight: 1, ArrowDown: 1, ArrowLeft: -1, ArrowUp: -1 }[e.key];
if (!step) return;
e.preventDefault();
select(options[(i + step + options.length) % options.length], true);
});
});
});
Verify Your Identity
View codeHide code
<div class="ba bg-white pa-16 rounded-double mx-auto" style="max-width: 700px;">
<h3 class="text-bold d-flex align-items-center gap-12 mb-24"><svg class="icon color-brand size-20" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M12 3a4 4 0 0 0-4 4v3h8V7a4 4 0 0 0-4-4zm6 7V7A6 6 0 1 0 6 7v3h-.5a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h13a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zM5.5 12a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1z" fill-rule="evenodd"/></svg>Verify Your Identity</h3>
<form method="post" class="d-flex flex-column gap-24">
<div>
<label for="verify-ssn" class="form-label required">Social Security number</label>
<div class="pos-rel">
<input type="password" id="verify-ssn" name="ssn" class="form-control w-100 pl-40" value="123456789" autocomplete="off" inputmode="numeric" required aria-describedby="verify-ssn-help">
<svg class="icon size-24 text-muted pos-abs top-8 left-8" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M12 3a4 4 0 0 0-4 4v3h8V7a4 4 0 0 0-4-4zm6 7V7A6 6 0 1 0 6 7v3h-.5a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h13a3 3 0 0 0 3-3v-7a3 3 0 0 0-3-3zM5.5 12a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1z" fill-rule="evenodd"/></svg>
</div>
<p class="form-text" id="verify-ssn-help">This goes straight to the Financial Aid office. The AI Agent never sees it.</p>
</div>
<div>
<label for="verify-dob" class="form-label required">Date of birth</label>
<div class="pos-rel">
<input type="date" id="verify-dob" name="dob" class="form-control w-100 pl-40" required>
<button type="button" class="pos-abs pa-0 top-8 left-8" aria-label="Open date picker" tabindex="-1" data-date-picker="verify-dob">
<svg class="icon size-24 text-muted" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M8 1a1 1 0 0 1 1 1v1h6V2a1 1 0 1 1 2 0v1h2a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h2V2a1 1 0 0 1 1-1zM7 5H5a1 1 0 0 0-1 1v3h16V6a1 1 0 0 0-1-1h-2v1a1 1 0 1 1-2 0V5H9v1a1 1 0 0 1-2 0zm13 6H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1zM7 14a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1zm-8 4a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1z" fill-rule="evenodd"/></svg>
</button>
</div>
</div>
<button type="submit" class="btn md primary w-100"><span>Submit</span></button>
</form>
</div>Wi-Fi Not Connecting
INC0042177
- Opened
- Oct 30
- Assigned to
- Network Services
- Last update
- 5h ago
- Note
- Technician checking the access point in Yates Hall.
View codeHide code
<div class="ba bg-white pa-16 rounded-double mx-auto" style="max-width: 700px;">
<div class="d-flex align-items-start justify-content-between gap-12 mb-16">
<div>
<h3 class="text-bold">Wi-Fi Not Connecting</h3>
<p class="text-md text-quiet">INC0042177</p>
</div>
<span class="badge-pill badge-pill-warning text-nowrap">In progress</span>
</div>
<dl class="d-grid gap-x-24 gap-y-4 mb-16 text-md" style="grid-template-columns: max-content 1fr;">
<dt class="text-quiet">Opened</dt>
<dd>Oct 30</dd>
<dt class="text-quiet">Assigned to</dt>
<dd>Network Services</dd>
<dt class="text-quiet">Last update</dt>
<dd>5h ago</dd>
<dt class="text-quiet">Note</dt>
<dd>Technician checking the access point in Yates Hall.</dd>
</dl>
<a href="#" target="_blank" rel="noopener" class="btn md secondary w-100"><svg class="icon" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15 4a1 1 0 1 1 0-2h6a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V5.414l-9.293 9.293a1 1 0 0 1-1.414-1.414L18.586 4zM6 5a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2v-4a1 1 0 1 1 2 0v4a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4h4a1 1 0 1 1 0 2z" fill-rule="evenodd"/></svg><span>View in Service Desk</span></a>
</div>Upcoming Events
-
Fall Career Fair
Thursday, Nov 12, 10 AM–2 PM
-
Study Abroad Info Session
Friday, Nov 13, 3–4 PM
-
Finals Week Pancake Night
Monday, Dec 7, 9–11 PM
View codeHide code
<div class="ba bg-white pt-16 px-16 pb-4 rounded-double mx-auto" style="max-width: 700px;">
<h3 class="text-bold mb-8">Upcoming Events</h3>
<ul class="list-unstyled">
<li class="d-flex align-items-center gap-12 py-12 bb">
<span class="d-flex align-items-center justify-content-center size-40 rounded ba highlight"><svg class="icon size-20" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M8 1a1 1 0 0 1 1 1v1h6V2a1 1 0 1 1 2 0v1h2a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h2V2a1 1 0 0 1 1-1zM7 5H5a1 1 0 0 0-1 1v3h16V6a1 1 0 0 0-1-1h-2v1a1 1 0 1 1-2 0V5H9v1a1 1 0 0 1-2 0zm13 6H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1zM7 14a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1zm-8 4a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1z" fill-rule="evenodd"/></svg></span>
<div>
<p>Fall Career Fair</p>
<p class="text-md text-quiet">Thursday, Nov 12, 10 AM–2 PM</p>
</div>
</li>
<li class="d-flex align-items-center gap-12 py-12 bb">
<span class="d-flex align-items-center justify-content-center size-40 rounded ba highlight"><svg class="icon size-20" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M8 1a1 1 0 0 1 1 1v1h6V2a1 1 0 1 1 2 0v1h2a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h2V2a1 1 0 0 1 1-1zM7 5H5a1 1 0 0 0-1 1v3h16V6a1 1 0 0 0-1-1h-2v1a1 1 0 1 1-2 0V5H9v1a1 1 0 0 1-2 0zm13 6H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1zM7 14a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1zm-8 4a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1z" fill-rule="evenodd"/></svg></span>
<div>
<p>Study Abroad Info Session</p>
<p class="text-md text-quiet">Friday, Nov 13, 3–4 PM</p>
</div>
</li>
<li class="d-flex align-items-center gap-12 py-12">
<span class="d-flex align-items-center justify-content-center size-40 rounded ba highlight"><svg class="icon size-20" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M8 1a1 1 0 0 1 1 1v1h6V2a1 1 0 1 1 2 0v1h2a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h2V2a1 1 0 0 1 1-1zM7 5H5a1 1 0 0 0-1 1v3h16V6a1 1 0 0 0-1-1h-2v1a1 1 0 1 1-2 0V5H9v1a1 1 0 0 1-2 0zm13 6H4v9a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1zM7 14a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1zm-8 4a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1z" fill-rule="evenodd"/></svg></span>
<div>
<p>Finals Week Pancake Night</p>
<p class="text-md text-quiet">Monday, Dec 7, 9–11 PM</p>
</div>
</li>
</ul>
</div>Julie Advisor
Academic Advising
- Address:Yates Hall, Room 214B
- Email:jstaff@pathify.edu
- Phone:(970) 555-0142
View codeHide code
<div class="ba bg-white pa-16 rounded-double d-flex flex-column gap-16 mx-auto" style="max-width: 700px;">
<div class="d-flex align-items-center gap-12">
<div class="avatar size-40 flex-no-shrink"><img class="avatar-img" src="https://xsgames.co/randomusers/avatar.php?g=female&id=21" alt=""></div>
<div>
<h3 class="text-bold">Julie Advisor</h3>
<p class="text-md text-quiet">Academic Advising</p>
</div>
</div>
<ul class="d-flex flex-column flex-md-row flex-wrap gap-x-24 gap-y-8 list-unstyled text-md">
<li class="d-flex align-items-center gap-8"><svg class="icon size-16 text-quiet" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6 3a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h2v-3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v3h2a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zm12 20a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H6a3 3 0 0 0-3 3v16a3 3 0 0 0 3 3zm-4-2v-2h-4v2zM7 6a1 1 0 0 1 1-1h.01a1 1 0 0 1 0 2H8a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1zm-8 4a1 1 0 0 1 1-1h.01a1 1 0 0 1 0 2H8a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1zm-8 4a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1zm4 0a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1z" fill-rule="evenodd"/></svg><span class="visually-hidden">Address:</span>Yates Hall, Room 214B</li>
<li><a href="mailto:jstaff@pathify.edu" class="d-inline-flex align-items-center gap-8"><svg class="icon size-16" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M4 5a1 1 0 0 0-1 1v.45l8.503 5.404a.94.94 0 0 0 .994 0l.002-.001L21 6.45V6a1 1 0 0 0-1-1zm19 1.983V6a3 3 0 0 0-3-3H4a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h16a3 3 0 0 0 3-3V6.983zM21 8.82l-7.44 4.727a2.94 2.94 0 0 1-3.12 0l-.006-.003L3 8.82V18a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1z" fill-rule="evenodd"/></svg><span class="visually-hidden">Email:</span>jstaff@pathify.edu</a></li>
<li><a href="tel:+19705550142" class="d-inline-flex align-items-center gap-8"><svg class="icon size-16" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M12.98 1.895a1 1 0 0 1 1.1-.89 10.026 10.026 0 0 1 8.914 8.851 1 1 0 1 1-1.988.225 8.034 8.034 0 0 0-7.136-7.086 1 1 0 0 1-.89-1.1zM7.69 3.243A1.006 1.006 0 0 0 7.017 3H4.004a1.005 1.005 0 0 0-1 1.091 18.867 18.867 0 0 0 2.923 8.255l.003.004.002.003a18.565 18.565 0 0 0 5.71 5.714l.009.005a18.845 18.845 0 0 0 8.21 2.925 1.006 1.006 0 0 0 1.089-1.008v-3.04a1.008 1.008 0 0 0-.862-1.022 13.881 13.881 0 0 1-3.032-.756l-.002-.001a1.006 1.006 0 0 0-1.061.226l-1.27 1.271a1 1 0 0 1-1.202.162 17.053 17.053 0 0 1-6.394-6.396 1 1 0 0 1 .162-1.201l1.272-1.273a1.007 1.007 0 0 0 .225-1.06v-.003a13.892 13.892 0 0 1-.757-3.033 1.007 1.007 0 0 0-.34-.62zM7.01 1a3.006 3.006 0 0 1 3 2.586l.001.01c.117.888.335 1.76.648 2.6a3.008 3.008 0 0 1-.681 3.175l-.722.722a15.053 15.053 0 0 0 4.605 4.607l.721-.721a3.005 3.005 0 0 1 3.174-.681c.84.313 1.711.53 2.6.647l.008.001a3.006 3.006 0 0 1 2.586 3.039v2.998a3.009 3.009 0 0 1-3.277 3.005l-.01-.001-.008-.001a20.845 20.845 0 0 1-9.09-3.234 20.566 20.566 0 0 1-6.32-6.323 20.868 20.868 0 0 1-3.233-9.151A3.008 3.008 0 0 1 4.003 1zm5.984 4.82a1 1 0 0 1 1.175-.787 6.015 6.015 0 0 1 4.752 4.815 1 1 0 1 1-1.967.362 4.02 4.02 0 0 0-3.172-3.214 1 1 0 0 1-.788-1.175z" fill-rule="evenodd"/></svg><span class="visually-hidden">Phone:</span>(970) 555-0142</a></li>
</ul>
<button type="button" class="btn md primary w-100"><span>Schedule Appointment</span></button>
</div>-
Welcome to Gaming Club! This community formed around shared passions and hobbies, offering a relaxed environment for like-minded students to connect and engage. Whether you're into tabletop games, creative writing, film analysis, or something entirely unique, these clubs provide a welcoming atmosphere to deepen your interests, learn new skills, and build lasting friendships outside of academics. They're the perfect opportunity to unwind, explore new facets of your personality, and find your niche within the broader university community.
- 481 members
- Location:1201 Central Drive, Fort Collins, CO 80521, USA
Upcoming event
May
12
11 PM–1 AM · Barton Hall, room 202
GAMER'S GUILD Skeeball Night
View codeHide code
<div class="ba bg-white rounded-double overflow-hidden mx-auto" style="max-width: 700px;">
<ul class="list-unstyled">
<li class="bb">
<button type="button" class="d-flex align-items-center gap-12 w-100 px-16 py-12 hoverable" aria-expanded="false" aria-controls="community-board-games" data-expand-row>
<span class="avatar size-40 flex-no-shrink"><img class="avatar-img" src="assets/examples/board-games.png" alt=""></span>
<span class="d-flex flex-column flex-grow" style="min-width: 0;">
<span class="text-bold text-truncate">Board Games</span>
<span class="text-sm text-quiet text-truncate">Student Life & Interest Clubs</span>
</span>
<span class="badge-pill badge-pill-success flex-no-shrink">Joined</span>
<svg data-icon-closed class="icon size-16 text-muted flex-no-shrink" aria-hidden="true"><use href="#internal-chevron-right-ios"/></svg>
<svg data-icon-open class="icon size-16 text-muted flex-no-shrink hidden" aria-hidden="true"><use href="#internal-chevron-down-ios"/></svg>
</button>
<div id="community-board-games" class="d-flex flex-column gap-24 px-16 pt-8 pb-12 hidden">
<div class="d-flex flex-column gap-16">
<div>
<p id="community-board-games-about" class="line-clamp-3">From quick card games to all-night campaigns, Board Games meets every week to play, teach new games and swap favorites from our shared library of more than 200 titles.</p>
<button type="button" class="btn sm link active hidden" aria-expanded="false" aria-controls="community-board-games-about" data-show-more><span>Show more</span><svg data-icon-closed class="icon" aria-hidden="true"><use href="#internal-chevron-down"/></svg><svg data-icon-open class="icon hidden" aria-hidden="true"><use href="#internal-chevron-up"/></svg></button>
</div>
<ul class="d-flex flex-column flex-md-row flex-wrap gap-x-24 gap-y-8 list-unstyled text-md">
<li class="d-flex align-items-center gap-8"><svg class="icon size-16 color-brand" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M5.464 3.464a5 5 0 1 1 7.072 7.071 5 5 0 0 1-7.072-7.07zM9 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm6.031-1.118a1 1 0 0 1 1.217-.72 5 5 0 0 1 0 9.687 1 1 0 0 1-.496-1.938 3 3 0 0 0 0-5.812 1 1 0 0 1-.72-1.217zM7 16a3 3 0 0 0-3 3v2a1 1 0 1 1-2 0v-2a5 5 0 0 1 5-5h4a5 5 0 0 1 5 5v2a1 1 0 1 1-2 0v-2a3 3 0 0 0-3-3zm10.032-1.1a1 1 0 0 1 1.218-.718A5 5 0 0 1 22 18.994V21a1 1 0 1 1-2 0v-1.997a3 3 0 0 0-2.25-2.885 1 1 0 0 1-.718-1.218z" fill-rule="evenodd"/></svg>212 members</li>
<li class="d-flex align-items-center gap-8"><svg class="icon size-16 color-brand" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M12 3a7 7 0 0 0-7 7c0 2.16 1.217 4.487 2.798 6.564 1.528 2.008 3.282 3.634 4.202 4.433.92-.799 2.674-2.425 4.202-4.433C17.783 14.487 19 12.159 19 10a7 7 0 0 0-7-7zm-6.364.636A9 9 0 0 1 21 10c0 2.834-1.553 5.603-3.206 7.775-1.677 2.203-3.584 3.956-4.54 4.78a2 2 0 0 1-2.509 0c-.955-.824-2.862-2.577-4.539-4.78C4.553 15.603 3 12.834 3 10a9 9 0 0 1 2.636-6.364zM12 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0z" fill-rule="evenodd"/></svg><span class="visually-hidden">Location:</span>Yates Hall, Room 110</li>
</ul>
</div>
<div class="d-flex flex-column gap-8">
<p class="d-flex align-items-center gap-8 text-md"><svg class="icon size-16 color-brand" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M8 1a1 1 0 0 1 1 1v1h6V2a1 1 0 1 1 2 0v1h2a3 3 0 0 1 3 3v4a1 1 0 0 1-1 1H4v9a1 1 0 0 0 1 1h6a1 1 0 1 1 0 2H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h2V2a1 1 0 0 1 1-1zM7 5H5a1 1 0 0 0-1 1v3h16V6a1 1 0 0 0-1-1h-2v1a1 1 0 1 1-2 0V5H9v1a1 1 0 0 1-2 0zm10.5 7.441a1 1 0 0 1 .897.557l1.158 2.346 2.59.379a1 1 0 0 1 .553 1.706l-1.873 1.824.442 2.578a1 1 0 0 1-1.451 1.054L17.5 21.667l-2.316 1.218a1 1 0 0 1-1.45-1.054l.441-2.578-1.873-1.824a1 1 0 0 1 .553-1.706l2.59-.379 1.158-2.346a1 1 0 0 1 .897-.557zm0 3.26-.494 1a1 1 0 0 1-.752.546l-1.106.162.8.779a1 1 0 0 1 .288.885l-.189 1.099.987-.52a1 1 0 0 1 .931 0l.988.52-.189-1.099a1 1 0 0 1 .288-.885l.8-.779-1.106-.162a1 1 0 0 1-.752-.546z" fill-rule="evenodd"/></svg>Upcoming event</p>
<div class="d-flex ba rounded-double bg-n1">
<div class="px-16 py-12 br text-center flex-no-shrink">
<p class="text-sm text-quiet">Apr</p>
<p class="text-bold">28</p>
</div>
<div class="d-flex flex-column justify-content-center px-16 py-12 flex-grow" style="min-width: 0;">
<p class="text-sm text-quiet text-truncate">6–9 PM · Yates Hall, Room 110</p>
<p class="text-bold text-truncate">Strategy Game Night</p>
</div>
</div>
</div>
<div class="d-flex flex-column gap-16">
<button type="button" class="btn md secondary w-100"><span>Leave Community</span></button>
<a href="#" class="btn sm link active align-self-start"><span>View Community</span></a>
</div>
</div>
</li>
<li class="bb">
<button type="button" class="d-flex align-items-center gap-12 w-100 px-16 py-12 hoverable" aria-expanded="true" aria-controls="community-gaming-club" data-expand-row>
<span class="avatar size-40 flex-no-shrink"><img class="avatar-img" src="assets/examples/gaming-club.png" alt=""></span>
<span class="d-flex flex-column flex-grow" style="min-width: 0;">
<span class="text-bold text-truncate">Gaming Club</span>
<span class="text-sm text-quiet text-truncate">Student Life & Interest Clubs</span>
</span>
<svg data-icon-closed class="icon size-16 text-muted flex-no-shrink hidden" aria-hidden="true"><use href="#internal-chevron-right-ios"/></svg>
<svg data-icon-open class="icon size-16 text-muted flex-no-shrink" aria-hidden="true"><use href="#internal-chevron-down-ios"/></svg>
</button>
<div id="community-gaming-club" class="d-flex flex-column gap-24 px-16 pt-8 pb-12">
<div class="d-flex flex-column gap-16">
<div>
<p id="community-gaming-club-about" class="line-clamp-3">Welcome to Gaming Club! This community formed around shared passions and hobbies, offering a relaxed environment for like-minded students to connect and engage. Whether you're into tabletop games, creative writing, film analysis, or something entirely unique, these clubs provide a welcoming atmosphere to deepen your interests, learn new skills, and build lasting friendships outside of academics. They're the perfect opportunity to unwind, explore new facets of your personality, and find your niche within the broader university community.</p>
<button type="button" class="btn sm link active hidden" aria-expanded="false" aria-controls="community-gaming-club-about" data-show-more><span>Show more</span><svg data-icon-closed class="icon" aria-hidden="true"><use href="#internal-chevron-down"/></svg><svg data-icon-open class="icon hidden" aria-hidden="true"><use href="#internal-chevron-up"/></svg></button>
</div>
<ul class="d-flex flex-column flex-md-row flex-wrap gap-x-24 gap-y-8 list-unstyled text-md">
<li class="d-flex align-items-center gap-8"><svg class="icon size-16 color-brand" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M5.464 3.464a5 5 0 1 1 7.072 7.071 5 5 0 0 1-7.072-7.07zM9 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm6.031-1.118a1 1 0 0 1 1.217-.72 5 5 0 0 1 0 9.687 1 1 0 0 1-.496-1.938 3 3 0 0 0 0-5.812 1 1 0 0 1-.72-1.217zM7 16a3 3 0 0 0-3 3v2a1 1 0 1 1-2 0v-2a5 5 0 0 1 5-5h4a5 5 0 0 1 5 5v2a1 1 0 1 1-2 0v-2a3 3 0 0 0-3-3zm10.032-1.1a1 1 0 0 1 1.218-.718A5 5 0 0 1 22 18.994V21a1 1 0 1 1-2 0v-1.997a3 3 0 0 0-2.25-2.885 1 1 0 0 1-.718-1.218z" fill-rule="evenodd"/></svg>481 members</li>
<li class="d-flex align-items-center gap-8"><svg class="icon size-16 color-brand" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M12 3a7 7 0 0 0-7 7c0 2.16 1.217 4.487 2.798 6.564 1.528 2.008 3.282 3.634 4.202 4.433.92-.799 2.674-2.425 4.202-4.433C17.783 14.487 19 12.159 19 10a7 7 0 0 0-7-7zm-6.364.636A9 9 0 0 1 21 10c0 2.834-1.553 5.603-3.206 7.775-1.677 2.203-3.584 3.956-4.54 4.78a2 2 0 0 1-2.509 0c-.955-.824-2.862-2.577-4.539-4.78C4.553 15.603 3 12.834 3 10a9 9 0 0 1 2.636-6.364zM12 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0z" fill-rule="evenodd"/></svg><span class="visually-hidden">Location:</span>1201 Central Drive, Fort Collins, CO 80521, USA</li>
</ul>
</div>
<div class="d-flex flex-column gap-8">
<p class="d-flex align-items-center gap-8 text-md"><svg class="icon size-16 color-brand" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M8 1a1 1 0 0 1 1 1v1h6V2a1 1 0 1 1 2 0v1h2a3 3 0 0 1 3 3v4a1 1 0 0 1-1 1H4v9a1 1 0 0 0 1 1h6a1 1 0 1 1 0 2H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h2V2a1 1 0 0 1 1-1zM7 5H5a1 1 0 0 0-1 1v3h16V6a1 1 0 0 0-1-1h-2v1a1 1 0 1 1-2 0V5H9v1a1 1 0 0 1-2 0zm10.5 7.441a1 1 0 0 1 .897.557l1.158 2.346 2.59.379a1 1 0 0 1 .553 1.706l-1.873 1.824.442 2.578a1 1 0 0 1-1.451 1.054L17.5 21.667l-2.316 1.218a1 1 0 0 1-1.45-1.054l.441-2.578-1.873-1.824a1 1 0 0 1 .553-1.706l2.59-.379 1.158-2.346a1 1 0 0 1 .897-.557zm0 3.26-.494 1a1 1 0 0 1-.752.546l-1.106.162.8.779a1 1 0 0 1 .288.885l-.189 1.099.987-.52a1 1 0 0 1 .931 0l.988.52-.189-1.099a1 1 0 0 1 .288-.885l.8-.779-1.106-.162a1 1 0 0 1-.752-.546z" fill-rule="evenodd"/></svg>Upcoming event</p>
<div class="d-flex ba rounded-double bg-n1">
<div class="px-16 py-12 br text-center flex-no-shrink">
<p class="text-sm text-quiet">May</p>
<p class="text-bold">12</p>
</div>
<div class="d-flex flex-column justify-content-center px-16 py-12 flex-grow" style="min-width: 0;">
<p class="text-sm text-quiet text-truncate">11 PM–1 AM · Barton Hall, room 202</p>
<p class="text-bold text-truncate">GAMER'S GUILD Skeeball Night</p>
</div>
</div>
</div>
<div class="d-flex flex-column gap-16">
<button type="button" class="btn md primary w-100"><svg class="icon" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M5.464 3.464a5 5 0 1 1 7.072 7.071 5 5 0 0 1-7.072-7.07zM9 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm6.031-1.118a1 1 0 0 1 1.217-.72 5 5 0 0 1 0 9.687 1 1 0 0 1-.496-1.938 3 3 0 0 0 0-5.812 1 1 0 0 1-.72-1.217zM7 16a3 3 0 0 0-3 3v2a1 1 0 1 1-2 0v-2a5 5 0 0 1 5-5h4a1 1 0 1 1 0 2zm11-2a1 1 0 0 1 1 1v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0v-2h-2a1 1 0 1 1 0-2h2v-2a1 1 0 0 1 1-1z" fill-rule="evenodd"/></svg><span>Join Community</span></button>
<a href="#" class="btn sm link active align-self-start"><span>View Community</span></a>
</div>
</div>
</li>
<li class="bb">
<button type="button" class="d-flex align-items-center gap-12 w-100 px-16 py-12 hoverable" aria-expanded="false" aria-controls="community-book-worms" data-expand-row>
<span class="avatar size-40 flex-no-shrink"><img class="avatar-img" src="assets/examples/book-worms.png" alt=""></span>
<span class="d-flex flex-column flex-grow" style="min-width: 0;">
<span class="text-bold text-truncate">Book Worms</span>
<span class="text-sm text-quiet text-truncate">Student Life & Interest Clubs</span>
</span>
<svg data-icon-closed class="icon size-16 text-muted flex-no-shrink" aria-hidden="true"><use href="#internal-chevron-right-ios"/></svg>
<svg data-icon-open class="icon size-16 text-muted flex-no-shrink hidden" aria-hidden="true"><use href="#internal-chevron-down-ios"/></svg>
</button>
<div id="community-book-worms" class="d-flex flex-column gap-24 px-16 pt-8 pb-12 hidden">
<div class="d-flex flex-column gap-16">
<div>
<p id="community-book-worms-about" class="line-clamp-3">Book Worms reads one novel a month and meets to talk about it over coffee. Members take turns choosing the book, and everyone is welcome, whether you finished it or not.</p>
<button type="button" class="btn sm link active hidden" aria-expanded="false" aria-controls="community-book-worms-about" data-show-more><span>Show more</span><svg data-icon-closed class="icon" aria-hidden="true"><use href="#internal-chevron-down"/></svg><svg data-icon-open class="icon hidden" aria-hidden="true"><use href="#internal-chevron-up"/></svg></button>
</div>
<ul class="d-flex flex-column flex-md-row flex-wrap gap-x-24 gap-y-8 list-unstyled text-md">
<li class="d-flex align-items-center gap-8"><svg class="icon size-16 color-brand" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M5.464 3.464a5 5 0 1 1 7.072 7.071 5 5 0 0 1-7.072-7.07zM9 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm6.031-1.118a1 1 0 0 1 1.217-.72 5 5 0 0 1 0 9.687 1 1 0 0 1-.496-1.938 3 3 0 0 0 0-5.812 1 1 0 0 1-.72-1.217zM7 16a3 3 0 0 0-3 3v2a1 1 0 1 1-2 0v-2a5 5 0 0 1 5-5h4a5 5 0 0 1 5 5v2a1 1 0 1 1-2 0v-2a3 3 0 0 0-3-3zm10.032-1.1a1 1 0 0 1 1.218-.718A5 5 0 0 1 22 18.994V21a1 1 0 1 1-2 0v-1.997a3 3 0 0 0-2.25-2.885 1 1 0 0 1-.718-1.218z" fill-rule="evenodd"/></svg>164 members</li>
<li class="d-flex align-items-center gap-8"><svg class="icon size-16 color-brand" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M12 3a7 7 0 0 0-7 7c0 2.16 1.217 4.487 2.798 6.564 1.528 2.008 3.282 3.634 4.202 4.433.92-.799 2.674-2.425 4.202-4.433C17.783 14.487 19 12.159 19 10a7 7 0 0 0-7-7zm-6.364.636A9 9 0 0 1 21 10c0 2.834-1.553 5.603-3.206 7.775-1.677 2.203-3.584 3.956-4.54 4.78a2 2 0 0 1-2.509 0c-.955-.824-2.862-2.577-4.539-4.78C4.553 15.603 3 12.834 3 10a9 9 0 0 1 2.636-6.364zM12 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0z" fill-rule="evenodd"/></svg><span class="visually-hidden">Location:</span>Morgan Library, Room 3</li>
</ul>
</div>
<div class="d-flex flex-column gap-16">
<button type="button" class="btn md primary w-100"><svg class="icon" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M5.464 3.464a5 5 0 1 1 7.072 7.071 5 5 0 0 1-7.072-7.07zM9 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm6.031-1.118a1 1 0 0 1 1.217-.72 5 5 0 0 1 0 9.687 1 1 0 0 1-.496-1.938 3 3 0 0 0 0-5.812 1 1 0 0 1-.72-1.217zM7 16a3 3 0 0 0-3 3v2a1 1 0 1 1-2 0v-2a5 5 0 0 1 5-5h4a1 1 0 1 1 0 2zm11-2a1 1 0 0 1 1 1v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0v-2h-2a1 1 0 1 1 0-2h2v-2a1 1 0 0 1 1-1z" fill-rule="evenodd"/></svg><span>Join Community</span></button>
<a href="#" class="btn sm link active align-self-start"><span>View Community</span></a>
</div>
</div>
</li>
<li class="bb">
<button type="button" class="d-flex align-items-center gap-12 w-100 px-16 py-12 hoverable" aria-expanded="false" aria-controls="community-campus-creatives" data-expand-row>
<span class="avatar size-40 flex-no-shrink"><img class="avatar-img" src="assets/examples/campus-creatives.png" alt=""></span>
<span class="d-flex flex-column flex-grow" style="min-width: 0;">
<span class="text-bold text-truncate">Campus Creatives</span>
<span class="text-sm text-quiet text-truncate">Student Life & Interest Clubs</span>
</span>
<svg data-icon-closed class="icon size-16 text-muted flex-no-shrink" aria-hidden="true"><use href="#internal-chevron-right-ios"/></svg>
<svg data-icon-open class="icon size-16 text-muted flex-no-shrink hidden" aria-hidden="true"><use href="#internal-chevron-down-ios"/></svg>
</button>
<div id="community-campus-creatives" class="d-flex flex-column gap-24 px-16 pt-8 pb-12 hidden">
<div class="d-flex flex-column gap-16">
<div>
<p id="community-campus-creatives-about" class="line-clamp-3">A home for artists, designers, photographers and makers. Campus Creatives runs open studio hours, critique nights and a student showcase at the end of each semester.</p>
<button type="button" class="btn sm link active hidden" aria-expanded="false" aria-controls="community-campus-creatives-about" data-show-more><span>Show more</span><svg data-icon-closed class="icon" aria-hidden="true"><use href="#internal-chevron-down"/></svg><svg data-icon-open class="icon hidden" aria-hidden="true"><use href="#internal-chevron-up"/></svg></button>
</div>
<ul class="d-flex flex-column flex-md-row flex-wrap gap-x-24 gap-y-8 list-unstyled text-md">
<li class="d-flex align-items-center gap-8"><svg class="icon size-16 color-brand" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M5.464 3.464a5 5 0 1 1 7.072 7.071 5 5 0 0 1-7.072-7.07zM9 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm6.031-1.118a1 1 0 0 1 1.217-.72 5 5 0 0 1 0 9.687 1 1 0 0 1-.496-1.938 3 3 0 0 0 0-5.812 1 1 0 0 1-.72-1.217zM7 16a3 3 0 0 0-3 3v2a1 1 0 1 1-2 0v-2a5 5 0 0 1 5-5h4a5 5 0 0 1 5 5v2a1 1 0 1 1-2 0v-2a3 3 0 0 0-3-3zm10.032-1.1a1 1 0 0 1 1.218-.718A5 5 0 0 1 22 18.994V21a1 1 0 1 1-2 0v-1.997a3 3 0 0 0-2.25-2.885 1 1 0 0 1-.718-1.218z" fill-rule="evenodd"/></svg>297 members</li>
<li class="d-flex align-items-center gap-8"><svg class="icon size-16 color-brand" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M12 3a7 7 0 0 0-7 7c0 2.16 1.217 4.487 2.798 6.564 1.528 2.008 3.282 3.634 4.202 4.433.92-.799 2.674-2.425 4.202-4.433C17.783 14.487 19 12.159 19 10a7 7 0 0 0-7-7zm-6.364.636A9 9 0 0 1 21 10c0 2.834-1.553 5.603-3.206 7.775-1.677 2.203-3.584 3.956-4.54 4.78a2 2 0 0 1-2.509 0c-.955-.824-2.862-2.577-4.539-4.78C4.553 15.603 3 12.834 3 10a9 9 0 0 1 2.636-6.364zM12 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0z" fill-rule="evenodd"/></svg><span class="visually-hidden">Location:</span>Visual Arts Building, Studio 4</li>
</ul>
</div>
<div class="d-flex flex-column gap-16">
<button type="button" class="btn md primary w-100"><svg class="icon" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M5.464 3.464a5 5 0 1 1 7.072 7.071 5 5 0 0 1-7.072-7.07zM9 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm6.031-1.118a1 1 0 0 1 1.217-.72 5 5 0 0 1 0 9.687 1 1 0 0 1-.496-1.938 3 3 0 0 0 0-5.812 1 1 0 0 1-.72-1.217zM7 16a3 3 0 0 0-3 3v2a1 1 0 1 1-2 0v-2a5 5 0 0 1 5-5h4a1 1 0 1 1 0 2zm11-2a1 1 0 0 1 1 1v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0v-2h-2a1 1 0 1 1 0-2h2v-2a1 1 0 0 1 1-1z" fill-rule="evenodd"/></svg><span>Join Community</span></button>
<a href="#" class="btn sm link active align-self-start"><span>View Community</span></a>
</div>
</div>
</li>
<li class="bb">
<button type="button" class="d-flex align-items-center gap-12 w-100 px-16 py-12 hoverable" aria-expanded="false" aria-controls="community-chess-club" data-expand-row>
<span class="avatar size-40 flex-no-shrink"><img class="avatar-img" src="assets/examples/chess-club.png" alt=""></span>
<span class="d-flex flex-column flex-grow" style="min-width: 0;">
<span class="text-bold text-truncate">Chess Club</span>
<span class="text-sm text-quiet text-truncate">Student Life & Interest Clubs</span>
</span>
<svg data-icon-closed class="icon size-16 text-muted flex-no-shrink" aria-hidden="true"><use href="#internal-chevron-right-ios"/></svg>
<svg data-icon-open class="icon size-16 text-muted flex-no-shrink hidden" aria-hidden="true"><use href="#internal-chevron-down-ios"/></svg>
</button>
<div id="community-chess-club" class="d-flex flex-column gap-24 px-16 pt-8 pb-12 hidden">
<div class="d-flex flex-column gap-16">
<div>
<p id="community-chess-club-about" class="line-clamp-3">Players of every level meet twice a week for casual games, lessons and practice for the regional collegiate tournament.</p>
<button type="button" class="btn sm link active hidden" aria-expanded="false" aria-controls="community-chess-club-about" data-show-more><span>Show more</span><svg data-icon-closed class="icon" aria-hidden="true"><use href="#internal-chevron-down"/></svg><svg data-icon-open class="icon hidden" aria-hidden="true"><use href="#internal-chevron-up"/></svg></button>
</div>
<ul class="d-flex flex-column flex-md-row flex-wrap gap-x-24 gap-y-8 list-unstyled text-md">
<li class="d-flex align-items-center gap-8"><svg class="icon size-16 color-brand" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M5.464 3.464a5 5 0 1 1 7.072 7.071 5 5 0 0 1-7.072-7.07zM9 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm6.031-1.118a1 1 0 0 1 1.217-.72 5 5 0 0 1 0 9.687 1 1 0 0 1-.496-1.938 3 3 0 0 0 0-5.812 1 1 0 0 1-.72-1.217zM7 16a3 3 0 0 0-3 3v2a1 1 0 1 1-2 0v-2a5 5 0 0 1 5-5h4a5 5 0 0 1 5 5v2a1 1 0 1 1-2 0v-2a3 3 0 0 0-3-3zm10.032-1.1a1 1 0 0 1 1.218-.718A5 5 0 0 1 22 18.994V21a1 1 0 1 1-2 0v-1.997a3 3 0 0 0-2.25-2.885 1 1 0 0 1-.718-1.218z" fill-rule="evenodd"/></svg>88 members</li>
<li class="d-flex align-items-center gap-8"><svg class="icon size-16 color-brand" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M12 3a7 7 0 0 0-7 7c0 2.16 1.217 4.487 2.798 6.564 1.528 2.008 3.282 3.634 4.202 4.433.92-.799 2.674-2.425 4.202-4.433C17.783 14.487 19 12.159 19 10a7 7 0 0 0-7-7zm-6.364.636A9 9 0 0 1 21 10c0 2.834-1.553 5.603-3.206 7.775-1.677 2.203-3.584 3.956-4.54 4.78a2 2 0 0 1-2.509 0c-.955-.824-2.862-2.577-4.539-4.78C4.553 15.603 3 12.834 3 10a9 9 0 0 1 2.636-6.364zM12 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0z" fill-rule="evenodd"/></svg><span class="visually-hidden">Location:</span>Student Center, Room 230</li>
</ul>
</div>
<div class="d-flex flex-column gap-16">
<button type="button" class="btn md primary w-100"><svg class="icon" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M5.464 3.464a5 5 0 1 1 7.072 7.071 5 5 0 0 1-7.072-7.07zM9 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm6.031-1.118a1 1 0 0 1 1.217-.72 5 5 0 0 1 0 9.687 1 1 0 0 1-.496-1.938 3 3 0 0 0 0-5.812 1 1 0 0 1-.72-1.217zM7 16a3 3 0 0 0-3 3v2a1 1 0 1 1-2 0v-2a5 5 0 0 1 5-5h4a1 1 0 1 1 0 2zm11-2a1 1 0 0 1 1 1v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0v-2h-2a1 1 0 1 1 0-2h2v-2a1 1 0 0 1 1-1z" fill-rule="evenodd"/></svg><span>Join Community</span></button>
<a href="#" class="btn sm link active align-self-start"><span>View Community</span></a>
</div>
</div>
</li>
<li class="bb">
<button type="button" class="d-flex align-items-center gap-12 w-100 px-16 py-12 hoverable" aria-expanded="false" aria-controls="community-silver-screen-society" data-expand-row>
<span class="avatar size-40 flex-no-shrink"><img class="avatar-img" src="assets/examples/silver-screen-society.png" alt=""></span>
<span class="d-flex flex-column flex-grow" style="min-width: 0;">
<span class="text-bold text-truncate">The Silver Screen Society</span>
<span class="text-sm text-quiet text-truncate">Student Life & Interest Clubs</span>
</span>
<svg data-icon-closed class="icon size-16 text-muted flex-no-shrink" aria-hidden="true"><use href="#internal-chevron-right-ios"/></svg>
<svg data-icon-open class="icon size-16 text-muted flex-no-shrink hidden" aria-hidden="true"><use href="#internal-chevron-down-ios"/></svg>
</button>
<div id="community-silver-screen-society" class="d-flex flex-column gap-24 px-16 pt-8 pb-12 hidden">
<div class="d-flex flex-column gap-16">
<div>
<p id="community-silver-screen-society-about" class="line-clamp-3">The Silver Screen Society screens a classic or independent film every Friday night, followed by an open discussion. Popcorn is on us.</p>
<button type="button" class="btn sm link active hidden" aria-expanded="false" aria-controls="community-silver-screen-society-about" data-show-more><span>Show more</span><svg data-icon-closed class="icon" aria-hidden="true"><use href="#internal-chevron-down"/></svg><svg data-icon-open class="icon hidden" aria-hidden="true"><use href="#internal-chevron-up"/></svg></button>
</div>
<ul class="d-flex flex-column flex-md-row flex-wrap gap-x-24 gap-y-8 list-unstyled text-md">
<li class="d-flex align-items-center gap-8"><svg class="icon size-16 color-brand" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M5.464 3.464a5 5 0 1 1 7.072 7.071 5 5 0 0 1-7.072-7.07zM9 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm6.031-1.118a1 1 0 0 1 1.217-.72 5 5 0 0 1 0 9.687 1 1 0 0 1-.496-1.938 3 3 0 0 0 0-5.812 1 1 0 0 1-.72-1.217zM7 16a3 3 0 0 0-3 3v2a1 1 0 1 1-2 0v-2a5 5 0 0 1 5-5h4a5 5 0 0 1 5 5v2a1 1 0 1 1-2 0v-2a3 3 0 0 0-3-3zm10.032-1.1a1 1 0 0 1 1.218-.718A5 5 0 0 1 22 18.994V21a1 1 0 1 1-2 0v-1.997a3 3 0 0 0-2.25-2.885 1 1 0 0 1-.718-1.218z" fill-rule="evenodd"/></svg>143 members</li>
<li class="d-flex align-items-center gap-8"><svg class="icon size-16 color-brand" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M12 3a7 7 0 0 0-7 7c0 2.16 1.217 4.487 2.798 6.564 1.528 2.008 3.282 3.634 4.202 4.433.92-.799 2.674-2.425 4.202-4.433C17.783 14.487 19 12.159 19 10a7 7 0 0 0-7-7zm-6.364.636A9 9 0 0 1 21 10c0 2.834-1.553 5.603-3.206 7.775-1.677 2.203-3.584 3.956-4.54 4.78a2 2 0 0 1-2.509 0c-.955-.824-2.862-2.577-4.539-4.78C4.553 15.603 3 12.834 3 10a9 9 0 0 1 2.636-6.364zM12 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0z" fill-rule="evenodd"/></svg><span class="visually-hidden">Location:</span>Clark Hall, Room 101</li>
</ul>
</div>
<div class="d-flex flex-column gap-16">
<button type="button" class="btn md primary w-100"><svg class="icon" aria-hidden="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M5.464 3.464a5 5 0 1 1 7.072 7.071 5 5 0 0 1-7.072-7.07zM9 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm6.031-1.118a1 1 0 0 1 1.217-.72 5 5 0 0 1 0 9.687 1 1 0 0 1-.496-1.938 3 3 0 0 0 0-5.812 1 1 0 0 1-.72-1.217zM7 16a3 3 0 0 0-3 3v2a1 1 0 1 1-2 0v-2a5 5 0 0 1 5-5h4a1 1 0 1 1 0 2zm11-2a1 1 0 0 1 1 1v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0v-2h-2a1 1 0 1 1 0-2h2v-2a1 1 0 0 1 1-1z" fill-rule="evenodd"/></svg><span>Join Community</span></button>
<a href="#" class="btn sm link active align-self-start"><span>View Community</span></a>
</div>
</div>
</li>
</ul>
<div class="px-16 py-4">
<a href="#" class="btn md link"><span>View all Communities</span></a>
</div>
</div>
// "Show more" appears only when the description is longer than three lines.
function updateShowMore(scope) {
scope.querySelectorAll("[data-show-more]").forEach((button) => {
const text = document.getElementById(button.getAttribute("aria-controls"));
const clamped = text.classList.contains("line-clamp-3");
button.classList.toggle("hidden", clamped && text.scrollHeight <= text.clientHeight);
});
}
// Swap the closed and open chevrons inside a button.
function setChevron(button, open) {
button.querySelector("[data-icon-closed]").classList.toggle("hidden", open);
button.querySelector("[data-icon-open]").classList.toggle("hidden", !open);
}
// Expandable rows: each row is a button with aria-expanded and aria-controls (its panel).
document.querySelectorAll("[data-expand-row]").forEach((button) => {
button.addEventListener("click", () => {
const open = button.getAttribute("aria-expanded") !== "true";
const panel = document.getElementById(button.getAttribute("aria-controls"));
button.setAttribute("aria-expanded", String(open));
panel.classList.toggle("hidden", !open);
setChevron(button, open);
if (open) updateShowMore(panel);
});
});
// "Show more" removes the three-line limit from the description it controls.
document.querySelectorAll("[data-show-more]").forEach((button) => {
button.addEventListener("click", () => {
const text = document.getElementById(button.getAttribute("aria-controls"));
const clamped = text.classList.toggle("line-clamp-3");
button.setAttribute("aria-expanded", String(!clamped));
button.querySelector("span").textContent = clamped ? "Show more" : "Show less";
setChevron(button, !clamped);
});
});
updateShowMore(document);
window.addEventListener("resize", () => updateShowMore(document));