Metadata-Version: 2.1
Name: st-tabs
Version: 0.1.1
Summary: Streamlit component that allows you to do customize your tabbar as per your need
Home-page: https://github.com/PrathamJha1/st_tabs
Author: Pratham Jha
Author-email: prathamjha5683@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: streamlit (>=0.63)
Provides-Extra: devel
Requires-Dist: playwright (==1.36.0) ; extra == 'devel'
Requires-Dist: pytest-playwright-snapshot (==1.0) ; extra == 'devel'
Requires-Dist: pytest-rerunfailures (==12.0) ; extra == 'devel'
Requires-Dist: pytest (==7.4.0) ; extra == 'devel'
Requires-Dist: requests (==2.31.0) ; extra == 'devel'
Requires-Dist: wheel ; extra == 'devel'

# st_tabs

Streamlit component that allows you to do change the tabbar as per your need

The component has implemented Material UI Tab Bar in order to create simple yet smotth interface with the functionality to change its background color,textcolor,hoverstate color,font-size and font-weight respectively.

The component returns the index of the Tab that is currenly selected/active.

pypi package link [st_tabs](https://pypi.org/project/st-tabs/)


## Installation instructions


```sh
pip install st_tabs
```

## Usage instructions

```python
import streamlit as st

from st_tabs import TabBar

component1=  TabBar(tabs=["Tab1","Tab2"],default=0,background = "red",color="grey",activeColor="blue",fontSize="20px")
#Handle your tabbar usecases here.
if(component1 == 0):
    st.write("Hooray! we are in Tab1")
else:
    st.write("Yippee! We are in Tab2 ")
```


Please feel free to give feedback and suggestions to make it better.


