mui / toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
964 stars 243 forks source link

Support Tabs component #747

Open prakhargupta1 opened 2 years ago

prakhargupta1 commented 2 years ago

Duplicates

Latest version

Summary 💡

Currently, Toolpad supports Tabs. Tabs are basically sub-pages. This issue is about Tabbed containers.

Screenshot 2023-05-25 at 12 24 55 PM

https://mui.com/material-ui/react-tabs/

One of: https://github.com/mui/mui-toolpad/issues/78

bytasv commented 1 year ago

@prakhargupta1 can you confirm if I understand correctly that we want something ala Tabbed container that retool offers?

CleanShot 2023-01-02 at 15 21 26@2x CleanShot 2023-01-02 at 15 21 59@2x

There is also Tabs component which allows controlling other components via special configuration

CleanShot 2023-01-02 at 15 23 34@2x

Should we implement one, the other or both?

prakhargupta1 commented 1 year ago

We should do Tabbed containers.
Example from appsmith here

Janpot commented 1 year ago

Let's leave this ussue open for real tabbed containers

JerryWu1234 commented 11 months ago

@Janpot

Today I doved into this issue. Tabs can only receive only one children property. my suggestion is change children into a type of array.

apedroferreira commented 11 months ago

@Janpot

Today I doved into this issue. Tabs can only receive only one children property. my suggestion is change children into a type of array.

An array of layoutSlot props might work? But not sure if there would be any obstacles that could be complicated to deal with.