mui / material-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.
https://mui.com/material-ui/
MIT License
93.28k stars 32.12k forks source link

[Request] Slide Component for Menu/Dialog/Drawer #40694

Closed Jasermon closed 7 months ago

Jasermon commented 7 months ago

Duplicates

Summary

I have a Dialog component in my project where I display event information. (Name, Last Name, Event Date, Status, Notes etc.). In this Dialog component, there is a menu that lists the actions that can be applied for the event. One of them is "Event History". This option opens a dialog showing who took what action on this event. (Basicly this is logging system i made).

Today, I decided to solve this complexity of 2 dialog components and combine them into a single dialog component. I could solve this simply with a switch function, but it looks very crude without animation. So I decided to use the Collapse component, but I couldn't get it to work exactly the way I wanted. The Settings popup in YouTube's video player looked pretty nice, I wanted to do something similar but I couldn't. After researching, I learned that this component is called "Slide Menu". Would you consider adding something like this in the future?

Note: I am opening this article because I cannot find anything similar to the component I mentioned in the MUI documentation. If I'm too dumb to find it, please guide me.

Examples

The slide menu of Youtube I mentioned

https://github.com/mui/material-ui/assets/20345854/bd764f48-6f9a-4697-99cb-178cae80b957

Another example

https://github.com/mui/material-ui/assets/20345854/3e7fe509-dc5c-47ea-8920-f7454da4743f

Motivation

No response

Search keywords:

mj12albert commented 7 months ago

Duplicate of https://github.com/mui/material-ui/issues/11723