Metadata-Version: 2.1
Name: extra_streamlit_components
Version: 0.0.9
Summary: An all-in-one place, to find complex or just not available components by default on streamlit.
Home-page: https://github.com/Mohamed-512/Extra-Streamlit-Components
Author: Mohamed Abdou
Author-email: matex512@gmail.com
License: UNKNOWN
Description: # Extra-Streamlit-Components
        
        An all-in-one place, to find complex or just not available components by default on streamlit.
        
        ## Components
        
        Firstly, add `import extra_streamlit_components as stx`
        
        - ### TabBar
          Inspire from React's `ScrollMenu`, this component receives a list of `TabBarItemData`, and returns the `id` of the
          selected tab
          ```python
          chosen_id = stx.tab_bar(data=[
              stx.TabBarItemData(id=1, title="ToDo", description="Tasks to take care of"),
              stx.TabBarItemData(id=2, title="Done", description="Tasks taken care of"),
              stx.TabBarItemData(id=3, title="Overdue", description="Tasks missed out"),
          ], default=1)
          st.info(f"{chosen_id=}")
          ```
        
          ![](Demo_Assets/tab_bar.gif)
        
        
        - ### BouncingImage
          Probably not the best naming but this component, renders an image by its path or url, and animates by zooming in and
          out repetitively giving an illusion of a bounce.
        
          ```python
          image_url = "https://streamlit.io/images/brand/streamlit-logo-secondary-colormark-darktext.svg"
          stx.bouncing_image(image_source=image_url, animate=True, animation_time=1500, height=200, width=600)
          ```
          ![](Demo_Assets/bouncing_images.gif)
        
        - ### StepperBar
          A streamlit wrapper on MaterialUI's Stepper
        
          ```python
          val = stx.stepper_bar(steps=["Ready", "Get Set", "Go"])
          st.info(f"Phase #{val}")
          ```
          ![](Demo_Assets/stepper_bar_demo.gif)
Keywords: Python,Streamlit,React
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
