Giter VIP home page Giter VIP logo

streamlitantdcomponents's Introduction

Streamlit-Antd-Components

Open in Streamlit GitHub PyPI

A Streamlit component to display Antd-Design, streamlit widgets extension.

Check out the Demo App for more example. demo

highlight

  • support streamlit theme(light or dark mode,or custom theme)
  • support Bootstrap Icon
  • support nested data widgets(menu,tree,cascader...)
  • more components to display data
  • more style params for every component

This library now provides component blow:

  • buttons A group of buttons component.
  • divider A divider line separates different content
  • menu A versatile menu for navigation
  • steps A navigation bar that guides users through the steps of a task
  • cascader Chooses cascade items in one float layer for better user experience.
  • checkbox A group of checkbox.
  • rate Rate component
  • switch Switching between two states or on-off state
  • transfer Double column transfer choice box
  • segmented Segmented Controls.
  • tabs A tabs component.
  • tree A hierarchical list structure component.
  • alert Alert component for feedback
  • result Used to feed back the results of a series of operational tasks
  • tag Tag for categorizing or markup
  • pagination A long list can be divided into several pages

Install

pip install streamlit-antd-components

Quickstart

Create a group of buttons,use more style params.

import streamlit as st
import streamlit_antd_components as sac

btn = sac.buttons(
    items=['button1', 'button2', 'button3'],
    index=0,
    format_func='title',
    align='center',
    direction='horizontal',
    shape='round',
    compact=False,
    return_index=False,
)
st.write(f'The selected button label is: {btn}')

buttons

Todo

  • Solve the problem of component(such as DatePickerใ€TreeSelectใ€cascader) pop-up window display to obtain a better interactive experience
  • Interaction between components
  • Add component callback function
  • Optimize project structure to reduce project size

streamlitantdcomponents's People

Contributors

evertoncolling avatar nicedouble avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.