Component packs › Flaps › Read More
The rest of the text swings down from under the first paragraph and the button rides down with it.
Read More is a disclosure from Flaps, a component pack with 6 disclosure components: Accordions, trees and sidebars whose panels swing open on a real hinge. Price: $2 for the whole pack.
Built with: hinged reveal, masked lead, real text.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
paragraphs | string[] | Paragraphs; the first is always shown. | |
title | string | ||
open | boolean | ||
dark | boolean | follows the page | Force the dark (true) or light (false) look. Default: follows the page. |
onToggle | (open: boolean) => void | ||
autoplay | number | false | Showcase mode: opens and closes every N ms while visible. |
toggle(open?: boolean): voiddestroy(): voidimport ReadMore from './ReadMore';
<ReadMore />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Accordions.