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.1.tar.gz
(70.1 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.1-py3-none-any.whl
(174.8 kB
view details)
File details
Details for the file reflex_chakra-0.7.1.tar.gz.
File metadata
- Download URL: reflex_chakra-0.7.1.tar.gz
- Upload date:
- Size: 70.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85ee47676a8113e2d240e4ebde46ca39c37237a1ff9c9ec4e4be3e689dd4dac7
|
|
| MD5 |
c096ad6db5b4c6f3abf6b03716320b4c
|
|
| BLAKE2b-256 |
604f0055397c5d72de487d4c90b4c54571fe81bd52081e5c6364f47e4f71624e
|
File details
Details for the file reflex_chakra-0.7.1-py3-none-any.whl.
File metadata
- Download URL: reflex_chakra-0.7.1-py3-none-any.whl
- Upload date:
- Size: 174.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
375786db5a449cf0ffe538e67eca7b73aad1f0c303749463924dbf9869933c03
|
|
| MD5 |
03dbce7585b1241bfaf41e6a4e2e9e96
|
|
| BLAKE2b-256 |
a382f6c31466e3d3053c1838d7f50868f5c703561771931ab31873b6b57214aa
|