reflex-chakra
Use reflex with chakra-ui components.
Installation
pip install reflex-chakra
Usage
import reflex as rx
import reflex_chakra as rc
def index():
return rx.fragment(
rc.vstack(
rc.heading("This is a header"),
rc.center("This text is centered"),
rc.button(
"click me",
on_click=rx.toast("show toast!"),
bg="purple",
border_radius="0.5em",
pl="10px"
)
),
)
app = rx.App()
app.add_page(index)
Visit the docs for more info of chakra-ui components.
Metadata
Release files for reflex-chakra 0.8.2.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| reflex_chakra-0.8.2.post1.tar.gz | 63.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| reflex_chakra-0.8.2.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 232.1 kB
Release files / reflex_chakra-0.8.2.post1.tar.gz
| Download URL | reflex_chakra-0.8.2.post1.tar.gz |
|---|---|
| Size | 63.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1d86b879230d4d4e280a85cc03e95f326d5a0a4b89eb2cb675b37d8455944c2
|
|
BLAKE2b-256 checksum How to use checksums |
14c009820908402c4b57ec8c8d4b4490d3fdc048e4429cafe6287d4bd28fbbb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.4
|
Release files / reflex_chakra-0.8.2.post1-py3-none-any.whl
| Download URL | reflex_chakra-0.8.2.post1-py3-none-any.whl |
|---|---|
| Size | 168.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
efcac9c8c623bd1cbacf9721107ba9be7573dfb099e36c20c18e32d55262e188
|
|
BLAKE2b-256 checksum How to use checksums |
af259a45cb575302d7b78990e446af785cd2eeb6d1afef71e6eeb1d1dbaeb93f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.4
|