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.0.tar.gz
(70.2 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.0-py3-none-any.whl
(174.8 kB
view details)
File details
Details for the file reflex_chakra-0.8.0.tar.gz.
File metadata
- Download URL: reflex_chakra-0.8.0.tar.gz
- Upload date:
- Size: 70.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3716b8ea2940588a1f851f2fbe85c1ac53ff91e494b8f106bf4a36946c368820
|
|
| MD5 |
21f3414b56dbf1021cc487bbb6b1fe4c
|
|
| BLAKE2b-256 |
681038a72e4b798258bc12947cf871ee7fc45c0e7a70496c586c91021ce31c57
|
File details
Details for the file reflex_chakra-0.8.0-py3-none-any.whl.
File metadata
- Download URL: reflex_chakra-0.8.0-py3-none-any.whl
- Upload date:
- Size: 174.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbfdb1fc097a731c145ac0ebb0f4ca6407037a179f58ef1e4ba082a54b8c6021
|
|
| MD5 |
c68c37a80e828677bd038ee2d71b7fb5
|
|
| BLAKE2b-256 |
6544c241e361e84ed84b4dca7beaef7bf162eef1f9f6a4ba6a38d95422aab991
|