Files
supabase/apps/docs/styles
Kody JacksonandClaude Sonnet 5.5 5ca501cd24 chore(docs) - Remove inline Accordion component for machine readability -> details/summary instead (#53274)
## Problem

Accordion components -- as currently constructed -- aren't machine
readable b/c they require JS. Additionally, they aren't heavily used at
all.

## Solution

Removes accordion component from codebase + moves existing usage into
`<details>` / `<summary>` components. Adds some default styling for the
new HTML pattern so they look similar.

Could also refactor accordion to auto-template out details/summary too.
No strong pref here.

## Limits

The sidebar navigation accordions use radix-ui directly and are
unchanged.

## Preview links

### Before

[Creating a client
(before)](https://supabase.com/docs/guides/auth/server-side/creating-a-client#nextjs-utility-functions)


https://github.com/user-attachments/assets/fd320358-7a35-46f8-b7b4-177b023e748e

### After

[Creating a client
(before)](https://docs-git-kody-devrel-850-remove-accordions-docs-mdx-supabase.vercel.app/docs/guides/auth/server-side/creating-a-client#nextjs-utility-functions)


https://github.com/user-attachments/assets/22049184-9157-46d2-a3a6-64ca2c991e24

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 11:31:54 -06:00
..
2026-10-29 09:57:35 +11:00