Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zpgarden-0.0.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

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

Hashes for zpgarden-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a1337706d3b53be9530433961b18544c5c3a706fce94c7ecd5aaea0c90746d6d
MD5 28b47f3ffaf849b2d634d626a3b2b0b8
BLAKE2b-256 57c46b0417369115812a74f595887acdbca58d65460dfd874d0e70d5cadb2b08

See more details on using hashes here.

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

Hashes for zpgarden-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 39857892096254b26cc1d0504cd847e01525efd2959d5252f61d8458010556ba
MD5 eeffa794440c890d5c5440913bb2c17e
BLAKE2b-256 154648b41cae77a2057bb5d6af506702c7cd40e358ac8aa1c5f3549768e3819b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page