A FastHTML wrapper for Zendesk Garden CSS
Project description
zenpy-garden
Installation
pip install zenpy-garden
Quick Start
Add Garden headers to your FastHTML app:
from fasthtml.common import *
from zpgarden.core import *
from zpgarden.components import *
app = FastHTML(hdrs=garden_hdrs)
Create styled components:
Btn('Click me')
Btn('Primary', cls='--primary')
Anchor('Learn more', href='#', cls='--danger')
Components
- Anchors — Styled links with danger and dark variants
- Avatars — User and system avatars with size options
- Buttons — Primary, danger, pill, icon variants
- Forms — Inputs, textareas, selects, checkboxes, radios with validation states
- Tags — Colored labels with pill and round shapes
See the Components documentation for full examples.
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
zpgarden-0.0.1.tar.gz
(9.4 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
File details
Details for the file zpgarden-0.0.1.tar.gz.
File metadata
- Download URL: zpgarden-0.0.1.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1337706d3b53be9530433961b18544c5c3a706fce94c7ecd5aaea0c90746d6d
|
|
| MD5 |
28b47f3ffaf849b2d634d626a3b2b0b8
|
|
| BLAKE2b-256 |
57c46b0417369115812a74f595887acdbca58d65460dfd874d0e70d5cadb2b08
|
File details
Details for the file zpgarden-0.0.1-py3-none-any.whl.
File metadata
- Download URL: zpgarden-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39857892096254b26cc1d0504cd847e01525efd2959d5252f61d8458010556ba
|
|
| MD5 |
eeffa794440c890d5c5440913bb2c17e
|
|
| BLAKE2b-256 |
154648b41cae77a2057bb5d6af506702c7cd40e358ac8aa1c5f3549768e3819b
|