Skip to content

Neo-Brutal

Accordion

Native <details> rows between 2 px rules: works without JavaScript, and closed text stays findable with the browser's find.

Live, interactive React component · light themeResponsive

About the Neo-Brutal Accordion

Native <details> rows between 2 px rules: works without JavaScript, and closed text stays findable with the browser's find. The toggle is a small card-white key on a 2 px shadow: it lifts with the row's hover, and when the item opens it sinks, turns volt and its plus turns into a ×. exclusive keeps one item open (native details name). The height animates where ::details-content is supported.

It is part of Neo-Brutal. The style’s 92 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.

To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add the file and its styles by hand. The documentation walks through both.

The same piece, drawn for a different look. Open one to compare it live.

Noir Aurora Accordion

Native <details> items on hairlines: works without JavaScript, and closed text stays findable with the browser's find. exclusive keeps one item open (native details name).

Soft Bento Accordion

Native <details> items: works without JavaScript, and closed text stays findable with the browser's find. exclusive keeps one item open (native details name).

Swiss Tech Mono Accordion

Native <details> items: works without JavaScript, and closed text stays findable with the browser's find. exclusive keeps one item open (native details name).