Skip to main content

streamlit custom components of Antd Design and Mantine, modded from jihaoran's streamlit-antd-components

Project description

Streamlit-Antd-Components-mod

Open in Streamlit GitHub PyPI download

A modded library forked from the excellent Streamlit-Antd-Components project. https://github.com/nicedouble/StreamlitAntdComponents

This library provides component below:

  • 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 (modded to enable coloured icons in steps component)
  • cascader Chooses cascade items in one float layer for better user experience.
  • 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-mod

Quickstart

Create a group of buttons,use more style params.

import streamlit as st
import streamlit_antd_components-mod as sacm

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

buttons

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit_antd_components_mod-0.1.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_antd_components_mod-0.1.0-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_antd_components_mod-0.1.0.tar.gz.

File metadata

File hashes

Hashes for streamlit_antd_components_mod-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d5f4b4ddd4e5da5f3a0d7edf4eebc3343707761b66fe770b805a0724dba14daa
MD5 5e709622fbd193ce4736728344be56e3
BLAKE2b-256 8b1c0fe0796f787a12801f19c1f69efa74a40befaecffed8e9716ecb96932f6a

See more details on using hashes here.

File details

Details for the file streamlit_antd_components_mod-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_antd_components_mod-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d1fba6c6381f35a647e375cd248db0ad3d707fe9c305b65a05ad626e92485110
MD5 f906ad6528cd914c71eba2d55d611eaa
BLAKE2b-256 8bf7de0df10a84f5b202c0fcae22772531c2cc55ea5e2ec30b1950c6369cf59f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page