How to Implement Tab Overflow with Dropdown Menu in React (Similar to SAPUI5 IconTabBar)?

I’m working on a React application, and I need to implement tab navigation similar to SAPUI5’s IconTabBar component with an overflow behavior.

In the SAPUI5 example (link below), when there are too many tabs to fit in the available space, the excess tabs are moved to a dropdown/select list.

Example Link: SAPUI5 IconTabBar Overflow Example

How can I implement tabs that will show in a row, and if there are too many to fit, an overflow menu (select list) will appear to allow users to select the remaining tabs.

Are there any existing libraries or components I can use that implement this behavior easily?