Skip to main content

CronixUI - A dark-themed UI toolkit with crimson accents and Outfit typography

Project description

CronixUI Python Package

A dark-themed UI toolkit with crimson accents and Outfit typography. Part of the CronixUI multi-platform design system.

Installation

pip install cronixui

Quick Start

from cronixui import Button, Card, Toast, Badge
from cronixui.tokens import BG, ACCENT, TEXT

# Create a button
btn = Button("Click me", variant="primary")
print(btn.render_html())
# <button class="cn-btn cn-btn-primary">Click me</button>

# Create a card
card = Card(title="My Card", body="Card content")
print(card.render_html())
# <div class="cn-card">...</div>

# Show a toast
toast = Toast.success("Operation completed!")
print(toast.message)  # Operation completed!

# Use a badge
badge = Badge("New", variant="success")
print(badge.render_html())
# <span class="cn-badge cn-badge-success">New</span>

Available Components

All components generate HTML strings and work without a browser:

  • Button - Buttons with variants (primary, ghost, outline, danger, success)
  • Card - Card containers with header, body, footer
  • Badge - Status badges with semantic colors
  • Avatar - User avatars with initials
  • Toast - Toast notification data
  • Alert - Alert messages with variants
  • Progress - Progress bars
  • Table - Data tables
  • List - Lists with icons and actions
  • Form - Form inputs (Input, Textarea, Select, Checkbox, Radio, etc.)
  • Layout - Layout components (Header, Sidebar, Footer, Container)
  • Tabs - Tab navigation
  • Accordion - Collapsible sections
  • Modal - Modal dialogs
  • Dropdown - Dropdown menus
  • Nav - Navigation bars
  • Pagination - Pagination controls
  • CommandPalette - Command palette data
  • Search - Search component data

Design Tokens

from cronixui.tokens import BG, ACCENT, TEXT, typography, spacing

print(BG.hex)      # #0a0a0a
print(ACCENT.rgb)  # (107, 35, 35)
print(typography.lg)  # 16
print(spacing.space_4)  # 16

Other Platforms

CronixUI is also available for:

Platform Install
JavaScript/TypeScript npm install cronixui
React npm install cronixui
Vue npm install cronixui
Svelte npm install cronixui
Solid npm install cronixui
Go go get github.com/CazyUndee/CronixUI/packages/go/cronixui
Rust cronixui = "1.1.2"
Flutter GitHub URL in pubspec.yaml

License

GPL 3.0

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

cronixui-1.1.4.tar.gz (59.2 kB view details)

Uploaded Source

Built Distribution

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

cronixui-1.1.4-py3-none-any.whl (60.5 kB view details)

Uploaded Python 3

File details

Details for the file cronixui-1.1.4.tar.gz.

File metadata

  • Download URL: cronixui-1.1.4.tar.gz
  • Upload date:
  • Size: 59.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cronixui-1.1.4.tar.gz
Algorithm Hash digest
SHA256 d8b1b42bc727e61b23da53300643ebea1246ab396cf42e52e3ead4001b5ba723
MD5 99ed7ebbfec71989e8562c5a0101a601
BLAKE2b-256 95d272b4d087e7c1f5845bb1229b1f98f4fe5830be52ba86c30a36fd23fbe4b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for cronixui-1.1.4.tar.gz:

Publisher: deploy-main.yml on CazyUndee/CronixUI

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cronixui-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: cronixui-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 60.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cronixui-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bff2b17ae86aee8e985a707680a5da119cb8167a7380eb0f21c0b35dc0485c88
MD5 00a13d3018943527b679c7e47cd8ff6e
BLAKE2b-256 129dafe0d297018b7ec6b553184a46699d3daa8eef97ede41d6ba3f362f50448

See more details on using hashes here.

Provenance

The following attestation bundles were made for cronixui-1.1.4-py3-none-any.whl:

Publisher: deploy-main.yml on CazyUndee/CronixUI

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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