Next: (hygguile components utility), Previous: (hygguile components tray), Up: API
Create an HTML anchor link (<a>) component.
If the href key argument evaluates to false, the hyperlink target location defaults directly to the structural evaluation of content.
The text label or component displayed inside the interactive anchor boundary.
List of symbols representing font weight CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols representing base link text color CSS classes.
List of symbols representing font family CSS classes.
List of symbols representing interactive state hover coloring CSS rules.
List of base text formatting utility attributes.
Optional explicit destination target path URL string.
(a "https://gnu.org" #:extra-classes '(underline))
Create an inline HTML <abbr> fragment expanding an abbreviation.
The expansion travels in the title attribute, which browsers show
on hover and assistive technology can read out.
The abbreviation text, e.g. "HTTP".
The expansion, e.g. "HyperText Transfer Protocol".
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols representing text decoration classes.
List of additional typography utility classes.
(abbr "HTTP" #:title "HyperText Transfer Protocol")
Create an inline HTML <code> fragment.
The code instruction text string.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols representing inline code surface container background colors.
List of symbols representing container boundary radius options.
List of symbols representing structural layout presentation depth drops.
List of symbols controlling top/bottom baseline cell padding spaces.
List of symbols controlling left/right horizontal boundary alignment padding.
List of font typography rules enforcing monospaced code metrics.
(code "(car list-expression)")
Create an HTML emphasis (<em>) layout block.
The inner text content or target inline nodes.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing font family CSS classes.
List of symbols representing line-height spacing CSS classes.
List of symbols representing text element style transformations.
List of symbols representing text sizing CSS classes.
(em "Please notice this crucial contextual exception.")
Create an inline term that may link to its documentation and may spell itself out.
A page’s prose names a technology once and this puts the two other
things that name implies on that same word: where the term is
documented, and, for an abbreviation, what it stands for. The note is a
tooltip, so it appears on hover and on keyboard focus alike, and
it wraps the link rather than sitting beside it – one word carries
both, the reader who has never met the abbreviation learns what it
stands for without leaving the page, and the reader who wants the manual
follows that same word.
The word as the prose writes it.
Where the term is documented, or #f for a term that is only text.
What the term stands for, or #f for a term with nothing to spell
out.
Where the note appears: 'top (default), 'bottom,
'left or 'right.
List of additional utility CSS classes for the note.
(glossary-term "SXML"
#:href "https://en.wikipedia.org/wiki/SXML"
#:note "Scheme XML: XML written as S-expressions")
Create an HTML <h1> heading.
The inner text string or child elements of the heading.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing font family CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols representing the line-height, defaulting to the ratio
the heading scale pairs with size (see heading-leading). A
size the scale does not name is led by its tightest ratio, so the ink of
a heading a page has resized for itself still fits its line box.
(h1 "Main Page Title" #:color '(text-onyx-700 dark:text-stone-100))
Create an HTML <h2> heading.
The inner text string or child elements of the heading.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing font family CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols representing the line-height, defaulting to the ratio the heading scale pairs with size.
(h2 "Section Subtitle" #:weight '(font-semibold))
Create an HTML <h3> heading.
The inner text string or child elements of the heading.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing font family CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols representing the line-height, defaulting to the ratio the heading scale pairs with size.
(h3 "Subsection Heading")
Create an HTML <h4> heading.
The inner text string or child elements of the heading.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing font family CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols representing the line-height, defaulting to the ratio the heading scale pairs with size.
(h4 "Minor Subsection Title")
Create an inline HTML <kbd> fragment for user keyboard input.
Use kbd for keys the user presses (Ctrl, Enter,
Esc). Marking them up lets assistive technology announce them as
input rather than as ordinary prose.
The key name or inline nodes.
List of symbols representing font weight CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing the key surface background colors.
List of symbols representing the key border colors.
List of symbols representing container boundary radius options.
List of symbols representing the key depth shadow.
List of symbols controlling top/bottom padding.
List of symbols controlling left/right padding.
List of structural typography rules for keyboard keys.
(kbd "Ctrl")
Create an inline HTML <mark> fragment highlighting relevant text.
The highlight is a soft yellow wash rather than the browser’s default neon, so it reads as an annotation instead of a warning.
The highlighted text string or inline nodes.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols representing the highlight background colors.
List of symbols representing container boundary radius options.
List of symbols controlling left/right padding.
List of additional typography utility classes.
(mark "today")
Create a structural paragraph element wrapped in a monospace text layout.
The inner code text string or inline elements.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing text sizing CSS classes.
List of configuration framework tokens defining a fixed-width layout style.
(mono "$ guix pull")
Create an HTML paragraph (<p>) component.
The text block or inner nodes rendered inside the paragraph boundaries.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing font family CSS classes.
List of symbols representing line-height spacing CSS classes.
List of symbols representing text sizing CSS classes.
(p "This framework focuses on modular, cozy web architectures.")
Create an HTML preformatted multi-line source code container block
(<pre>).
The raw multi-line string contents to preserve.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols representing code presentation layout surface background cards.
List of symbols representing card container boundary radius configurations.
List of symbols representing card container visual shadow definitions.
List of symbols tracking macro dimension constraint rules.
List of symbols processing vertical paragraph text baseline spacing layouts.
List of symbols configuring code boundary line wrapping constraints.
List of symbols processing top/bottom container padding margins.
List of symbols processing side outer margin boundaries padding options.
List of structural code scrolling mechanisms and whitespace behaviors.
An optional HTML identifier, or #f for a <pre> nothing has
to name.
(pre "(define (hello)\n (display \"Hi\"))")
Create an inline HTML <samp> fragment for program output.
samp marks text produced by a computer: a command’s reply, a
compiler diagnostic, a log line.
The sampled output text string or inline nodes.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing text sizing CSS classes.
List of typography rules enforcing monospaced output metrics.
(samp "Build succeeded.")
Create an HTML strong importance (<strong>) text fragment.
The inner phrase string or inline elements requiring strong visual weight.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing font family CSS classes.
List of symbols representing line-height spacing CSS classes.
List of symbols representing text sizing CSS classes.
(strong "Warning: Destructive action ahead!")
Create an inline HTML <sub> subscript fragment.
The natural home for chemical formulae and mathematical indices.
The subscript text or inline nodes.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols setting the vertical alignment offset.
List of additional typography utility classes.
(p (list "H" (sub "2") "O"))
Create a lighter, styled secondary <h1> heading wrapper.
The inner text string or child elements of the subheading.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing font family CSS classes.
List of symbols representing font style layout configuration options (e.g., italic).
List of symbols representing text sizing CSS classes.
List of symbols representing the line-height, defaulting to the ratio the heading scale pairs with size.
(sub-h1 "A deeper dive into the architecture")
Create a lighter, styled secondary <h2> heading wrapper.
The inner text string or child elements of the subheading.
List of symbols representing font weight CSS classes.
List of symbols representing font style layout configuration options.
List of symbols representing text color CSS classes.
List of symbols representing font family CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols representing the line-height, defaulting to the ratio the heading scale pairs with size.
(sub-h2 "Contextual commentary block")
Create a lighter, styled secondary <h3> heading wrapper.
The inner text string or child elements of the subheading.
List of symbols representing font weight CSS classes.
List of symbols representing font style layout configuration options.
List of symbols representing text color CSS classes.
List of symbols representing font family CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols representing the line-height, defaulting to the ratio the heading scale pairs with size.
(sub-h3 "Detailed breakdown notes")
Create a lighter, styled secondary <h4> heading wrapper.
The inner text string or child elements of the subheading.
List of symbols representing font weight CSS classes.
List of symbols representing font style layout configuration options.
List of symbols representing text color CSS classes.
List of symbols representing font family CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols representing the line-height, defaulting to the ratio the heading scale pairs with size.
(sub-h4 "Supplemental metadata label")
Create an inline HTML <sup> superscript fragment.
Use it for footnote markers, ordinal suffixes and exponents.
The superscript text or inline nodes.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols setting the vertical alignment offset.
List of additional typography utility classes.
(p (list "Copyright" (sup "©")))
Create an inline HTML <time> fragment for a machine-readable
date.
The datetime attribute carries the value in ISO format
(2026-10-11, 2026-10-11T09:30) so that browsers, calendars
and crawlers can parse it, while the visible text stays human and
locale-appropriate. When content is a string and no
datetime is given, the content itself is used.
The human-readable date or time string.
An optional ISO-8601 machine-readable value.
List of symbols representing font weight CSS classes.
List of symbols representing text color CSS classes.
List of symbols representing text sizing CSS classes.
List of typography rules, such as tabular figures for aligned dates.
(time "11 October 2026" #:datetime "2026-10-11")
Create an inline HTML <var> fragment for a variable or
placeholder.
A serif italic var stands out from the surrounding sans-serif
text, which is exactly what you want for a name the reader is expected
to substitute.
The variable name or placeholder text string.
List of symbols representing font weight CSS classes.
List of symbols representing text style transformations.
List of symbols representing text color CSS classes.
List of symbols representing text sizing CSS classes.
List of symbols representing font family CSS classes.
List of additional typography utility classes.
(var "username")
Next: (hygguile components utility), Previous: (hygguile components tray), Up: API