reflex using chakra components
Project description
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.
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
reflex_chakra-0.8.1.tar.gz
(63.7 kB
view details)
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
reflex_chakra-0.8.1-py3-none-any.whl
(168.5 kB
view details)
File details
Details for the file reflex_chakra-0.8.1.tar.gz.
File metadata
- Download URL: reflex_chakra-0.8.1.tar.gz
- Upload date:
- Size: 63.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30132cd33d86cd98b289d75ea863175c2df5a7cdf5bf9a669e50d4a9b677cbbf
|
|
| MD5 |
968cfbf1e9e7050a4b7e49a358b5fb12
|
|
| BLAKE2b-256 |
ca72cf0c4a62a72d5f504cc4fa0d2459f8a459386bc6148c5c6812e5fe8de4f3
|
File details
Details for the file reflex_chakra-0.8.1-py3-none-any.whl.
File metadata
- Download URL: reflex_chakra-0.8.1-py3-none-any.whl
- Upload date:
- Size: 168.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8133e74d9b2a68316e952a2b04553ee7ed2a67367b15f2a8e9d85dae4c64d656
|
|
| MD5 |
5faadae458bafa07c2cbe71cfdf3e62b
|
|
| BLAKE2b-256 |
4bf496313a5a151b8005ec5ccbbdaeb4badbff708b71cfb70fa499049cb75e8f
|