etchdeveloperDemoGet the component
Demo

Read More

Sixteen instances in the places a Read More usually goes: an article teaser, product copy, a specification table, a FAQ, team bios, reviews and release notes. Then a custom icon, a layout that collapses on phones only, a build log and a live event log for developers.

Each example lists the settings it uses. Click, or use Tab and Enter, and switch the frame to Mobile to see the heights adapt. The products and people are made up.

Article teaser with nested elements

Content source: Nested elements, with a heading, a paragraph, a list and a link in the content slot · Collapsed height: 10rem · Button style: Text only · Button alignment: Center · Read more text: Continue reading, with an accessible label

From the blog

How a component gets tested before release

Every component on this site goes through the same checks before it gets a version number. Most of them run in a browser; a few need a person with a screen reader and a phone.

  • Each prop is changed in the Etch props panel and has to show in the canvas without saving.
  • The exact export is pasted on a clean site and read back against the source.
  • Keyboard, screen readers, touch screens and reduced motion each get their own run.

What is still open stays on the component page under Good to know. The questions people ask most are in the FAQ below.

Product description

Content source: Text, with line breaks · Collapsed height: 5lh, about five lines · the default outline button with a chevron

Studio headphones

Closed back, over ear, quiet enough for a train

These studio headphones close around the ear and keep the room out, so you can mix on a train or record next to a running fan.The 45 mm drivers stay even from deep bass to the top of the range, honest enough for editing and comfortable enough for a full day. Memory foam cushions and a light steel headband spread the weight, and both cushions come off with one twist when they wear out.The cable locks into the left cup and comes in two lengths: 1.2 m for a laptop and 3 m for the desk. A 6.3 mm adapter is in the box.Every pair is tested before it ships and has a two-year warranty. After that, the spare parts shop sells every part on its own, from a single cushion to a new headband.

Specification table

Content source: Nested elements, with a table · Collapsed height: 12rem · Initial state: Expanded · Button alignment: End · Read more text: Full specification · Read less text: Fewer details

Technical data

Studio headphones
TypeClosed back, over ear
Driver45 mm dynamic
Frequency response5 Hz to 35 kHz
Impedance80 Ω
Sensitivity98 dB
Weight290 g without cable
Cables1.2 m and 3 m, locking
Warranty2 years

FAQ with Expand all and Collapse all

Four instances in a wrapper with an ID · Collapsed height: 3lh · Button style: Text only · Icon position: Before text · two plain buttons with data-ed-rm-action and data-ed-rm-target set to the wrapper, no script

Does the clipped text reach screen readers?

Yes. The collapsed height is visual only, so the whole answer stays in the accessibility tree and a screen reader reads it in full. Nothing is duplicated for them.The button still tells everyone whether the text is collapsed or expanded: it carries aria-expanded and points to the content with aria-controls.

Can I show HTML from an ACF field?

Not in Text mode, which escapes HTML, so the tags would show. Set Content source to Nested elements and put a div with the Etch HTML element into the content slot.The HTML element cleans the markup the same way WordPress does for post content. Use a div rather than a p, because rich text brings its own paragraphs, lists and headings.

What happens without JavaScript?

The content shows in full and the button stays hidden, so readers lose nothing.Printing works the same way. The printout shows everything, without the button and the fade, even when someone prints in the middle of the animation.

Does it work in Etch loops?

Yes. Each instance keeps its own state and IDs, so a loop can repeat it once per post.Instances that arrive later by AJAX, for example from a Load more button, start within a frame, and removed ones release their listeners. If your own code changes something the component cannot see, dispatch ed-read-more:refresh on the container.

Team bios in cards

Three instances · Collapsed height: 4lh · Button style: Text only · Read more text: Full bio, with the person’s name in the accessible label · the third bio is short, so it gets no button

Maya Lindqvist

Lead developer

Maya started with WordPress themes for small studios and now leads the team that builds client sites in Etch. She writes the components first and the documentation right after, while the details are still fresh.Outside work she maintains a small open-source date picker and teaches a monthly evening class on accessible forms.

Daniel Okafor

Accessibility consultant

Daniel tests every release with a screen reader before it ships, on a laptop and on a phone. He spent six years on a public sector team that audited government websites, so he knows which problems users report first.He keeps a running list of the patterns that fail most often and shares it with every new client.

Ines Duarte

Designer

Ines designs the layouts and the design system behind them.

Reviews over a gradient

Collapsed height: 8rem · Fade start: 30% · the component takes the light text of the section, and its fade is a mask, so the gradient shows through with no color to set

What customers say

Three reviews, one preview

“The headphones sound the same at the end of a long day as they do in the morning. I mix podcasts on them for eight hours and forget I am wearing them.” Priya, audio editor“I bought a second pair of cushions after two years, and the spare parts shop had them in stock. The headband still looks new.” Tomasz, music teacher“The long cable reaches from my desk to the piano, and the short one lives in my bag. Both lock in, so nothing comes loose in the middle of a take.” Elena, session pianist

Release notes that open once

Allow collapsing again: No · Read more text: Show all changes · after the click the button is gone and keyboard focus moves to the list

Version 2.4

  • Faster search across all your projects.
  • Dark mode follows the system setting.
  • Exports keep the original file names.
  • Shared links can expire after a set number of days.
  • The editor remembers the last cursor position.
  • Keyboard shortcuts for every toolbar button.
  • Fewer requests when a page has many images.
  • Fixed: dates in the calendar view used the wrong week start.

Your own icon and a filled button

Icon: Custom slot, with a plus SVG · Expanded icon rotation: 45, so the plus turns into a cross · Icon position: Before text · the pill shape and colors are styling variables on a wrapper class

Orders placed before 2 pm leave the warehouse the same day. Delivery takes one to two working days in most of Europe and three to five days elsewhere.Every parcel has tracking from the moment it leaves. If you are not at home, the courier leaves it at a pickup point nearby and sends you the address.Returns are free for 30 days. Print the label from your account, pack the item in its original box and drop it at any pickup point.

Collapse on phones only

One styling variable in a media query sets --ed-read-more-collapsed-height to none from 640 px. Switch the frame to Mobile and the text collapses.

Venue

A hall built into an old tram depot

The hall sits in a tram depot from 1912, with the original steel roof and the rails still set into the floor. It seats 400 for talks and holds 900 standing.Trams stop at the front door, and the main station is a twelve-minute walk. The bike racks along the side wall have room for 120 bikes.The building has step-free entrances on both sides, a hearing loop in the hall and quiet rooms on the first floor.

Build log in a code panel

Content source: Text, so every line break stays · Collapsed height: 8lh · Fade gradient: No · Button alignment: Stretch · the font, the dark panel and the button frame are styling variables

$ pnpm install Packages: +412 Progress: resolved 412, reused 398, downloaded 14, added 412, done $ pnpm build vite v7.1.4 building for production… transforming 1,286 modules rendering chunks… dist/index.html 0.52 kB dist/assets/index.css 18.40 kB dist/assets/index.js 146.03 kB built in 2.84 s $ pnpm test 42 test files, 380 tests passed Done in 11.2 s

Events and deep links for developers

A link to an #id inside the clipped content expands it. A small page script prints every ed-read-more:toggle and ed-read-more:complete event with its reason.

Jump to the return policy, which sits inside the collapsed text.

Delivery

We ship within one working day. You get a tracking link by email as soon as the parcel leaves the warehouse.

Warranty

Every product has a two-year warranty. Keep the order number; it is all we need.

Returns

You can return anything within 30 days. The return label is free and is in your account.

Events appear here, newest first.

    End of the demo. Get the Read More component