A streamlit component that allows the addition of custom HTML with Tailwind classes
Project description
streamlit-tailwind
A streamlit component that allows the addition of custom HTML with Tailwind classes
Installation instructions
pip install streamlit-tailwind
Usage instructions
import streamlit as st
from streamlit_tailwind import st_tw
value = st_tw(
text="""
<div class="bg-white p-4 h-48 rounded-lg"></div>
""",
height=192 # 4 x specified height in tailwind
)
st.write(value)
st.write(value)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamlit-tailwind-0.1.0.tar.gz.
File metadata
- Download URL: streamlit-tailwind-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0622166ed8cdf29d3cceab667d5ccef7f0e155a5723f7c7fe99f2501173387cd
|
|
| MD5 |
c00dd42e710e6c73b0e6e76eec7a47fe
|
|
| BLAKE2b-256 |
a1be36cdafc6aadfb3bdaea0f1a1580bbf4478fd810d56e4df4d13338c9e2f30
|
File details
Details for the file streamlit_tailwind-0.1.0-py3-none-any.whl.
File metadata
- Download URL: streamlit_tailwind-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cb8738cce9a4ee8e8e6c68667b558d863b6f5fd685bdb42b81a4cdd98735af5
|
|
| MD5 |
04832edad7b47a8b32f54b8d8f28300a
|
|
| BLAKE2b-256 |
b660b0ed434ae6c0db4c0afd83cb59391ba13886d8df4f04905c637050ca5d94
|