Skip to content

[docs][docs-infra] Early feedback v2 #2766

@oliviertassinari

Description

@oliviertassinari

Summary

This is a refresh of #588 with the up-to-date problems/opportunities with the documentation, since we made a lot of changes since.

The goal is to cover more table stack expectations that users can have, looking at what could be seen a missing coming as a user from Material UI docs.

Motivation

Try to provide great DX.

List

In no specific order, some should probably be moved to their own issue:

  • 1. Headers text are harder to select than in Material UI. When it comes to the header, I believe that I use them 50% of the time to share a link with someone else, and 50% of the time to search on the page all the hits about that specific topic in the header (since I'm lazy, I copy part of the header)
Screen.Recording.2025-09-15.at.23.59.07.mov
  • 2. There are no "reset focus" feature. It seems harder to test without. Shouldn't there be one (under a triple dot menu)?
Image
  • 3. There are no links to the source. It feels impactful to help the community contribute fixes. Shouldn't there be one (under a triple dot menu)?
Image
  • 4. There is no light/dark mode toggle. It's not obvious that everyone uses the same mode for their OS and code. For example, I'm personally mostly in light mode. I moved to dark mode for some code-related tasks.
Image
  • 5. Demos are not editable. Waiting 5-10 seconds to open a demo in CodeSandbox or StackBlitz is not the best experience. Better would be to be able to test prop combinations instantly.

  • 6. Element that handles onClick don't have cursor: pointer. Current behavior seems great for people who are building Electron apps, where on desktop, the expectation is that the UI is so normalized, everything looks the same, that, as a user, you can predict what's clickable, and hence, you don't need to be distracted with cursor changes.
    However, for the rest of the people, building for the web, every website is different; it feels a lot more frustrating to not know if an element can be interacted with or not than to have a cursor change distraction, blurring the lines of what is a link and what is a button.

    To be clear, this point is not me saying that we should make this change; it's me not confused, trying to understand the logic. Related to [bug]: Cursor pointer not working when hovering on button in Tailwind v4 shadcn-ui/ui#6843.

    Edit: tradeoff discussed more ⬇️ in the comments.

  • 7. Having a terminal toggle would be nice for lazy people. I'm using pnpm, I would rather have a direct copy & paste that is saved in a cookie.

Image https://base-ui.com/react/overview/quick-start

e.g. https://ui.shadcn.com/docs/installation/next

Image

https://base-ui.com/react/components/checkbox

I would have thought it would be clearer with "On this page"?

Image
  • 10. The scroll in the TOCs is broken; to move, you need to scroll the page. You lose your current reading context:
Screen.Recording.2025-09-16.at.00.30.28.mov
Screen.Recording.2025-09-24.at.12.46.07.mov

https://clerk.com/docs/upgrade-guides/upgrading-from-v2-to-v3

Image

But where it gets broken for me is: paragraph lists. For example, I fail to read this: https://master--base-ui.netlify.app/react/handbook/typescript#other-accessible-types

Image

The notion of a loose list for large paragraphs in lists could fix this if we want to have tight lists. Quick benchmark in: #2824 (comment).

Image
  • 17. There can be mistakes on the docs; without an edit source button, we are less likely to see contributors open PRs.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to the documentation.scope: all componentsWidespread work has an impact on almost all components.scope: docs-infraInvolves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305).umbrellaFor grouping multiple issues to provide a holistic view

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions