Content · 10 of 13
The smallest component in the system and the only pure-Astro one in this storybook: no script block, no props, one slot.
The entire component is a single <div> with a
<slot /> and an empty frontmatter fence. There are no
props, so there is no props table — content and any icon come through the
slot.
Full source.
<div class="flex gap-2 items-center w-fit border border-surface-quaternary bg-surface-secondary px-6 py-3 rounded-custom text-body-primary"><slot /></div>
It is a chip that cannot be interactive.
A <div> with no href, no click handler and no
variants. If a filter or tag-link is ever needed, this component cannot
become one without a rewrite — which is the correct trade for a display-only
element, but worth stating so nobody reaches for it as a button.
It is the clearest use of --radius-custom.
2.75rem on a short box reads as a pill; the same token on the Radio
secondary card reads as a rounded rectangle. One token, two very different
impressions — driven by the height it is applied to.