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.7.0.tar.gz
(69.0 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.7.0-py3-none-any.whl
(174.8 kB
view details)
File details
Details for the file reflex_chakra-0.7.0.tar.gz.
File metadata
- Download URL: reflex_chakra-0.7.0.tar.gz
- Upload date:
- Size: 69.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.11.11 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0802904969bb784856d1cd21b3e33d29b3e26d4038c113fdc599b37f54b5067b
|
|
| MD5 |
9e6f66d1c7f06ee576bb2354b81484bd
|
|
| BLAKE2b-256 |
a791ccb9296288b3c43ccffa888ea7714b3752152979aa76a83000303c17823c
|
File details
Details for the file reflex_chakra-0.7.0-py3-none-any.whl.
File metadata
- Download URL: reflex_chakra-0.7.0-py3-none-any.whl
- Upload date:
- Size: 174.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.11.11 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa91a36303fbc23c181019082bf12663fa0ba90f8196b74e40790f3621c9bdd1
|
|
| MD5 |
bbc7d514f9c30344c56984929d2e3be1
|
|
| BLAKE2b-256 |
6dd4c6b79128fec25f3056149588b2c67e63efe1c224b5aad05cc562f5938692
|