Kodza

Show More

Long content kept short until asked: a text cut by a soft fade, or a list that says how many items are left. It opens at its real height and the button's words roll.

Data display No dependencies show moreread morecollapsibletruncate Added Jan 2026
/anim/collapsible/ Fullscreen

With your AI

Just ask.

Say it to your AI. It gets the exact code below, not its best guess, and knows where it goes.

Shorten my long product description with Kodza Show More.

Not plugged in yet?
claude mcp add -t http kodza https://kodza.dev/api/mcp
Also in Codex, Cursor and VS Code.
kodza-collapsible.html
<div class="kodza-more">
  <div class="kodza-more__content">
    <p>We started Kodza with one rule: every component should survive a copy and a paste. No build step, no framework, no “install these six packages first”.</p>
    <p>So the CSS is scoped to its own classes, the JavaScript keeps to itself, and the HTML has no ids, so you can drop two of anything on the same page. It sounds boring. It is the point.</p>
    <p>Then we added the fun part: motion that means something, a voice that does not take itself too seriously, and dark mode that is not an afterthought.</p>
  </div>
  <button class="kodza-more__toggle" type="button" aria-expanded="false">
    <span class="kodza-more__words"><span>Read more</span><span>Read less</span></span>
    <svg viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5l3-3" /></svg>
  </button>
</div>

<div class="kodza-more kodza-more--list" data-visible="4">
  <ul class="kodza-more__content">
    <li>Spinner draws a tick when it is done</li>
    <li>Progress rolls its digits</li>
    <li>Skeleton takes its bones from the content</li>
    <li>Alert folds away without a jump</li>
    <li>Top Loading Bar slips off to the right</li>
    <li>Empty State fans out its cards</li>
    <li>Toast stacks like a deck</li>
    <li>Tooltip glides between buttons</li>
    <li>Cookie Consent makes Reject as easy as Accept</li>
    <li>Product Tour irises in</li>
  </ul>
  <button class="kodza-more__toggle" type="button" aria-expanded="false">
    <span class="kodza-more__words"><span>Show 6 more</span><span>Show less</span></span>
    <svg viewBox="0 0 12 12" aria-hidden="true"><path d="M3 4.5 6 7.5l3-3" /></svg>
  </button>
</div>

Checked

Checked before you paste.

Robots poked at it before you did. Every component goes through the same checks, and again each time it changes.

What ranLast run
Accessibilityaxe-core 4.10.2: the WCAG 2.1 A and AA rules, plus best practices. 0 issues
KeyboardThe Tab key gets there, and the focus ring shows when it does. Passed
Reduced motionTurn on reduced motion and what moved just appears. Nothing loops. Passed
Light and darkThe same checks on both themes, contrast included. Passed
WordPressPasted into Twenty Twenty-Five, Twenty Twenty-One, Astra, Blocksy, GeneratePress, Hello Elementor, Kadence and OceanWP. Nothing to flag. 8 / 8 themes
Robots checked this. A human with VoiceOver hasn't yet.

More like this

More in Data display