Subsection Title¶
A small, muted, uppercase heading that groups fields inside a section or form.
Decision¶
| When | Use |
|---|---|
| Splitting a long form into groups of fields | Subsection Title |
| A major area of the page | Section Title |
Usage¶
<h3 class="stolon-subsection-title">Change Retries</h3>
Class: stolon-subsection-title.
States and Modifiers¶
- It has no top margin when it is the first child.
- Its rule fades with the theme text color through
--stolon-fg.
Gotchas¶
- Use a real
h3orh4so screen readers get the outline.
Reference¶
Generated from the code by scripts/build-docs.mjs. Edit the code, not this section.
| Class | What it looks like |
|---|---|
stolon-subsection-title |
Small muted uppercase header for a subsection grouped inside a section or form |
Example¶
Example Code¶
<!-- title: Subsection Title -->
<h3 class="stolon-subsection-title">Change Retries</h3>
<div class="inputContainer">
<label for="txtRetries">Attempts</label>
<input is="emby-input" type="number" id="txtRetries" value="3" />
</div>
<h3 class="stolon-subsection-title">Backoff</h3>
<div class="inputContainer">
<label for="txtDelay">Delay in seconds</label>
<input is="emby-input" type="number" id="txtDelay" value="30" />
</div>