Creating interactive dropdown menus with Material UI in React

Looking to recreate the elements highlighted in black on the image linked below as part of my React and Material UI training. However, I'm finding it difficult to determine which Material UI components would work best for this task... Any guidance or examples resembling this design would be greatly appreciated! https://i.stack.imgur.com/t7gwd.png

Answer №1

If you're looking to create a UI similar to the one you described, material-ui offers various components that can help with that. You will have to assemble these components yourself.

The components inside the long black circle seem to be related to selects, which can be found at https://mui.com/components/selects/. There are different styles available on this page for your reference.

For the components inside the other circle, such as buttons, text_fields, chips, and cards, they can be located at https://mui.com/components/buttons/, https://mui.com/components/text-fields/, https://mui.com/components/chips/, and https://mui.com/components/cards/.

Without understanding how the Minerva Obj Name interacts, it's difficult to provide a specific answer for that part.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Struggling with adding headers in React application

When I try to include an h1 heading, either the heading doesn't show up if I comment out the buttons, or if I comment out the heading, then the buttons don't display. But when both are included, nothing is displayed. Any suggestions on how to fix ...

Arranged Items according to the value of nested objects

Sorting an object based on the number of votes it has and then mapping over the sorted object can be a bit tricky, especially when trying to retain the original keys. const data = { "comment-1508872637211" : { "description" : "Blah", "votes" : 1 ...

Managing state - It is not possible to update a component (`Provider`) while rendering another component

I'm currently exploring how to utilize jotai for updating a global indicator. This indicator will toggle the LinearProgress component (true or false). Within atom.js, I've set up a basic atom to act as the indicator: export const isDownloadAtom ...

What is the best way to turn off the automatic capitalization of text in a Button component using Material UI v5

Is there a way to disable the automatic uppercase feature on the <Button> component in material UI 5? <Button variant="contained">Hello</Button> By default, the text will be displayed as HELLO, but I prefer it to remain as Hell ...

Oops! Looks like there was an error. The text strings need to be displayed within a <Text> component in the BottomTabBar. This occurred at line 132 in the

My app includes a bottomTab Navigation feature, but I encountered an error: Error: Text strings must be rendered within a <Text> component. This error is located at: in BottomTabBar (at SceneView.tsx:132) in StaticContainer in StaticCont ...

A guide to resolving the Prisma Unique Type error while deploying on Vercel

After successfully running the app in my local development environment, I encountered an unexpected type error upon deploying to Vercel. My tech stack includes Next.js, Prisma, and tRPC. Any suggestions on what could be causing this issue? Link to Code ...

The input field is failing to capture the final character entered

Is there a way to store all input files in a single object and use the information in a graph? Currently, when I enter the first character, it creates an empty object, so the last character I enter is not captured in the object. Any suggestions on how to ...

What is the easiest way to set up a local server for deployment?

I am currently working on a research project with unique requirements that involve using private data which cannot be shared online. However, I need to create a demonstration where this data could potentially be accessed online as part of a proof of concep ...

The styles from the Next.js module are being overridden by the styles from mui/material

Currently, I am working with next.js and using scss modules for styling. However, I have encountered an interesting issue while using mui/material components. During development (npm run dev), everything functions as expected. The problem arises when I swi ...

What is the best way to distribute components with varying cell heights?

I am currently working on creating a user interface layout with components that need to be arranged in a specific order, as depicted in the accompanying image. My task involves developing a Material UI Dialog within a React application based on the design ...

Mastering the art of inputting numbers into individual text fields using Material UI

Recently, I integrated material-ui into my react project and encountered a challenge. My goal is to copy a number and paste it into multiple text fields. const [otpArr, setOtpArr] = useState<string[]>(['', '', '', ' ...

Guide to accessing onClick action in Material UI Link using the Tab key on the keyboard, without reliance on component="button" or href, instead incorporating the use of tabIndex

I'm facing an issue where the click action is not working on Material UI Link when I focus on it using keyboard tab key and then hit the enter button. Can someone provide assistance with this problem? Thank you. Check out the code in the sandbox: htt ...

What is the best approach to modifying array elements using onChange and hooks in React?

I'm struggling to implement something simple, and the solutions I've found so far don't quite address my specific issue. Here's the state in question: const [formFields, setFormFields ] = useState({ formTitle: '', fiel ...

Spreading Props to Components in React with Objects

I am working with a similar structure: const menuItems = { "Browse Listings": <MenuSubBrowse />, "ShowCase": <MenuShowCase />, "Something Else" : <DummyComponent/> }; I want to pass props to these com ...

Building with a specific version in NPM

Is there a method to automatically update the version number in my react app's package.json file using command line? Specifically, can this be done with npm build or before/after running npm build? I have a build server set up to execute npm build an ...

In the onMenuClose or onBlur event of the react-select component, detect whether the event was triggered by selecting an option or by clicking outside

When using React, the onBlur event or onMenuClose event are activated when a user either selects an option or clicks outside of the control. If the user has not chosen an option, I would like to execute some business logic on the blur event. Simply put, ...

What is the reason behind the restriction on using capital letters in React project names?

When attempting to create a new project "newRecipeApp" in React, I encountered the following message: npx: installed 91 in 29.359s Could not create a project called "newRecipeApp" because of npm naming restrictions: * name can no longer contain capital ...

The functionality of Blur is malfunctioning on Android with @react-native-community/blur

When using BlurView on Android, elements do not position correctly and end up overlapping each other. This issue does not occur on iOS devices. Please refer to the screenshot below for a visual representation. https://i.stack.imgur.com/NODDk.jpg Sometime ...

How can I turn off autocomplete in MUI textfields?

Currently, I am working with the latest version of mui. Within my user contact info form, there is a zip code field that I do not want to be auto completed if the value is null. However, despite my efforts, it continues to autocomplete with the email saved ...

Effective Ways to Utilize TouchStart / TouchEnd for Swapping Table Positions in ReactJS

I am relatively new to working with React. I have a project that is functioning correctly on desktop, and now I am looking to enhance its mobile functionality. The goal is to allow users to rearrange objects in a table by touching them on mobile devices. ...