ui: Tabs

Make tabs more generic and dynamic