Skip to content

[docs] Revamp demos#4676

Open
aarongarciah wants to merge 257 commits into
mui:masterfrom
aarongarciah:docs-demos-design-tweakz
Open

[docs] Revamp demos#4676
aarongarciah wants to merge 257 commits into
mui:masterfrom
aarongarciah:docs-demos-design-tweakz

Conversation

@aarongarciah
Copy link
Copy Markdown
Member

@aarongarciah aarongarciah commented Apr 24, 2026

@aarongarciah aarongarciah self-assigned this Apr 24, 2026
@aarongarciah aarongarciah added the docs Improvements or additions to the documentation. label Apr 24, 2026
@aarongarciah aarongarciah force-pushed the docs-demos-design-tweakz branch from 6de9050 to e5f2041 Compare April 24, 2026 05:59
@aarongarciah aarongarciah added the on hold There is a blocker, we need to wait. label Apr 24, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 24, 2026

commit: 6f41f59

@code-infra-dashboard
Copy link
Copy Markdown

code-infra-dashboard Bot commented Apr 24, 2026

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 0B(0.00%) 0B(0.00%)

Details of bundle changes

Performance

Total duration: 1,129.85 ms ▼-316.06 ms(-21.9%) | Renders: 50 (+0) | Paint: 1,714.95 ms ▼-473.90 ms(-21.7%)

Test Duration Renders
Tabs mount (200 instances) 217.64 ms ▼-56.50 ms(-20.6%) 4 (+0)
Select mount (200 instances) 133.62 ms ▼-37.76 ms(-22.0%) 3 (+0)
Menu mount (300 instances) 118.54 ms ▼-37.69 ms(-24.1%) 2 (+0)
Scroll Area mount (300 instances) 85.84 ms ▼-35.71 ms(-29.4%) 3 (+0)
Checkbox mount (500 instances) 65.70 ms ▼-34.54 ms(-34.5%) 1 (+0)

…and 3 more (+4 within noise) — details


Check out the code infra dashboard for more information about this PR.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 24, 2026

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 6de9050
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/69eb069e5308be0008bbfb22
😎 Deploy Preview https://deploy-preview-4676--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 24, 2026

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 6f41f59
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6a075b917d4fc40007d77981
😎 Deploy Preview https://deploy-preview-4676--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@aarongarciah aarongarciah force-pushed the docs-demos-design-tweakz branch 4 times, most recently from 045c0b1 to db6c575 Compare April 24, 2026 08:36
@aarongarciah aarongarciah changed the title [docs] Demos revamp [docs] Revamp demos Apr 24, 2026
@aarongarciah aarongarciah requested a review from colmtuite April 24, 2026 08:52
@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Apr 27, 2026
@aarongarciah aarongarciah force-pushed the docs-demos-design-tweakz branch 2 times, most recently from 187a6a0 to b367394 Compare April 27, 2026 11:38
@github-actions github-actions Bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Apr 27, 2026
@aarongarciah aarongarciah force-pushed the docs-demos-design-tweakz branch 11 times, most recently from 828a9e9 to 293826f Compare April 30, 2026 10:44
@aarongarciah
Copy link
Copy Markdown
Member Author

@atomiks

Scale animation is broken for this -- no transition. opacity works though.

Fixed

Is it intentional the text isn't centered?

Yes

> Should the switch's background-color transition? It looks slightly odd that the thumb transitions but not the background-color.

Updated. I wasn’t sure about it.

This should have a black focus ring:

Updated all focus rings to be "black" on the docs shell.

The bottom padding of combobox lists seems to be smaller than the top padding:

I added overflow: clip to the .Popup part to avoid the scrollbar overflowing it, but then it made the bottom padding smaller. Turns out I didn’t realize it was a miscalculation on the max-height 😅. Should be fixed now on all popups.

The year text feels slightly hard to read:

Tweaked. There might be some more cases like this in dark mode. There will be plenty more PRs to tweak stuff.

The Grid layout example looks off center:

Fixed

There's too much space beneath the emoji list?:

Fixed

This example looks too small?:

Why is that? It’s a 32x32 avatar, same size as buttons, inputs, etc.

The Dialog demos' transition duration seems too slow compared to the hero demo.

Fixed

The Outside Scroll Dialog's translateY animation seems much too fast?

Fixed

Not sure how I feel about pure white borders in dark mode. Kind of feels too harsh. Maybe a light gray would work better?

We might change it in another PR to gray-50. Leaving as is in this PR.

@aarongarciah aarongarciah force-pushed the docs-demos-design-tweakz branch from 0f755de to 7c99b11 Compare May 15, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

design This is about UI or UX design, please involve a designer. docs Improvements or additions to the documentation. scope: all components Widespread work has an impact on almost all components. type: new feature Expand the scope of the product to solve a new problem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants