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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8b1b42bc727e61b23da53300643ebea1246ab396cf42e52e3ead4001b5ba723
|
|
| MD5 |
99ed7ebbfec71989e8562c5a0101a601
|
|
| BLAKE2b-256 |
95d272b4d087e7c1f5845bb1229b1f98f4fe5830be52ba86c30a36fd23fbe4b6
|
Provenance
The following attestation bundles were made for cronixui-1.1.4.tar.gz:
Publisher:
deploy-main.yml on CazyUndee/CronixUI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cronixui-1.1.4.tar.gz -
Subject digest:
d8b1b42bc727e61b23da53300643ebea1246ab396cf42e52e3ead4001b5ba723 - Sigstore transparency entry: 1435749677
- Sigstore integration time:
-
Permalink:
CazyUndee/CronixUI@4ef142c7565f411e4f280b12b5429bd292a21f41 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/CazyUndee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy-main.yml@4ef142c7565f411e4f280b12b5429bd292a21f41 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bff2b17ae86aee8e985a707680a5da119cb8167a7380eb0f21c0b35dc0485c88
|
|
| MD5 |
00a13d3018943527b679c7e47cd8ff6e
|
|
| BLAKE2b-256 |
129dafe0d297018b7ec6b553184a46699d3daa8eef97ede41d6ba3f362f50448
|
Provenance
The following attestation bundles were made for cronixui-1.1.4-py3-none-any.whl:
Publisher:
deploy-main.yml on CazyUndee/CronixUI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cronixui-1.1.4-py3-none-any.whl -
Subject digest:
bff2b17ae86aee8e985a707680a5da119cb8167a7380eb0f21c0b35dc0485c88 - Sigstore transparency entry: 1435749832
- Sigstore integration time:
-
Permalink:
CazyUndee/CronixUI@4ef142c7565f411e4f280b12b5429bd292a21f41 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/CazyUndee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy-main.yml@4ef142c7565f411e4f280b12b5429bd292a21f41 -
Trigger Event:
push
-
Statement type: