Reflex components
Project description
Reflexions
A collection of ready-to-use components for Reflex applications.
Components
Icons
from reflexions import iconify
# Create an icon with customizable properties
iconify("mdi:bell", color="blue", size=24)
iconify("mdi:account", color="red", rotate=90, flip="horizontal")
Loading Animation
from reflexions import loading_icon
# Add a spinning circle loading animation
loading_icon(stroke="#3182CE", speed="0.75")
Template Cards
from reflexions import cards, CardItem
# Create template cards for selection interfaces
templates = [
CardItem(
icon="mdi:web",
title="Website Template",
description="Basic website with header and footer",
color="blue",
),
# Add more templates...
]
# Create a responsive grid of cards with an optional click handler
cards(templates, on_click=lambda item: handle_selection(item), cols=3)
Pydantic Forms
from reflexions import pydantic_form
from pydantic import BaseModel, Field
class UserProfile(BaseModel):
name: str = Field(..., description="Your full name")
age: int = Field(..., gt=0, description="Your age in years")
bio: str | None = Field(None, description="Tell us about yourself")
# Generate a complete form with validation from your model
form = pydantic_form(
UserProfile,
on_submit=handle_submission,
submit_label="Save Profile",
)
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
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
File details
Details for the file reflexions-0.1.1.tar.gz.
File metadata
- Download URL: reflexions-0.1.1.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecba4c610e6df0fc483acbfb4d377921c5d47f63a141b3e3331551b41879f725
|
|
| MD5 |
9277b31d68d1527a3679a4752d8bd0c9
|
|
| BLAKE2b-256 |
1f79ae13bc3c3e47dd0d90594c72be9f1c81aaf3a3c9ef86caeccc832499f9b4
|
Provenance
The following attestation bundles were made for reflexions-0.1.1.tar.gz:
Publisher:
build.yml on phil65/Reflexions
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reflexions-0.1.1.tar.gz -
Subject digest:
ecba4c610e6df0fc483acbfb4d377921c5d47f63a141b3e3331551b41879f725 - Sigstore transparency entry: 195963019
- Sigstore integration time:
-
Permalink:
phil65/Reflexions@a58bacd3e643289c252b9100f7c7acc885cacb02 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/phil65
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@a58bacd3e643289c252b9100f7c7acc885cacb02 -
Trigger Event:
push
-
Statement type:
File details
Details for the file reflexions-0.1.1-py3-none-any.whl.
File metadata
- Download URL: reflexions-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
535bb89effd9e4f8936de25b38af7e849b4a5013dbc54ac29170295824581065
|
|
| MD5 |
ad257e04fd97281ca40f4b57b0067750
|
|
| BLAKE2b-256 |
f500a28fe0fb2e40632bae49ea0e710bc72d88cde2a289208094294cee53f5e1
|
Provenance
The following attestation bundles were made for reflexions-0.1.1-py3-none-any.whl:
Publisher:
build.yml on phil65/Reflexions
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reflexions-0.1.1-py3-none-any.whl -
Subject digest:
535bb89effd9e4f8936de25b38af7e849b4a5013dbc54ac29170295824581065 - Sigstore transparency entry: 195963028
- Sigstore integration time:
-
Permalink:
phil65/Reflexions@a58bacd3e643289c252b9100f7c7acc885cacb02 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/phil65
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@a58bacd3e643289c252b9100f7c7acc885cacb02 -
Trigger Event:
push
-
Statement type: