inputlogic / elements

Dependable UI Components for (P)React Apps
0 stars 0 forks source link

Add TabBar and TabItem components #19

Open staydecent opened 5 years ago

staydecent commented 5 years ago

TabBars are decently common. Could be worth adding.

Should they support syncing with URL changes as well as local react state?

adriaanwm commented 4 years ago

I think syncing with URL changes is a must, especially if we're doing app style bottom tabs like in iOS apps.

coryschadt commented 4 years ago

I threw together a tab bar UI for Shawn's PWA talk. It is basic, but might be a starting point: https://github.com/inputlogic/pwa-starter/blob/tab-bar/src/apps/main/home/elements/tab-bar/tab-bar.js