Next: (hygguile components code), Previous: (hygguile components card), Up: API
Construct a carousel UI component.
Items are centred on a scroll-snap track that pans with a swipe, and the previous/next arrows page exactly one item at a time using the live gap between items. The arrows themselves are frosted glass discs: compact on phones, where the track needs every pixel it can get, and larger from the small breakpoint up. A disc wears the framework’s own frost layer, at the gentle end of its strength, so the glass is round where the disc is round.
The unique HTML string identifier for the inner carousel list element.
List of symbols representing CSS classes for the <ul> element.
List of symbols specifying the width CSS classes for each carousel item.
List of symbols specifying the height CSS classes for each carousel item.
List of symbols representing CSS classes for each item wrapper
<li>.
List of symbols representing CSS classes for the wrapper <div> of
the content.
List of symbols representing CSS classes for the outer wrapper
<div>.
List of symbols representing base CSS classes for the previous/next buttons.
List of symbols representing additional CSS classes for the left (previous) button.
List of symbols representing additional CSS classes for the right (next) button.
Fallback copy shown inside a <noscript> element when JavaScript
is disabled.
A list of HTML/component S-expression fragments to be rendered as the carousel items.
(carousel #:id "image-carousel"
#:fragments '(((img (@ (src "img1.png"))))
((img (@ (src "img2.png"))))))
Next: (hygguile components code), Previous: (hygguile components card), Up: API