mirror of
https://github.com/hunvreus/basecoat.git
synced 2026-11-12 13:18:22 +00:00
15 lines
440 B
Plaintext
15 lines
440 B
Plaintext
---
|
|
layout: layouts/component.njk
|
|
title: Select
|
|
description: isplays a list of options for the user to pick from—triggered by a button.
|
|
---
|
|
|
|
{% from "macros/code_block.njk" import code_block %}
|
|
{% set code %}<button class="btn-outline" hx-trigger="click" hx-get="/fragments/toast/success" hx-target="#toast-htmx">
|
|
Success
|
|
</button>
|
|
<div id="toast-htmx"></div>{% endset %}
|
|
{{ code_block("accordion", code, "max-w-md") }}
|
|
|
|
<h2>Usage</h2>
|