Show More List
A long list truncated to a few items with a toggle that reveals the rest. The toggle reports `aria-expanded` and points at the list it controls; collapsed it shows only the first few items, expanded it shows them all — progressive disclosure that keeps the initial view short.
- Axe
- Focus
Preview
- React
- TypeScript
- CSS
Installation
npx shadcn@latest add https://ui.publictheta.com/r/show-more-list.jsonConformance
Verified against the @publictheta/ui-spec show-more-list specification on both the React and vanilla reference implementations, across Chromium, Firefox, and WebKit.
- Axe — No WCAG 2 A/AA axe-core violations
- Focus — A visible focus indicator appears on keyboard focus (WCAG 2.4.7)
See the full conformance matrix across all components.