tiara
Pure Nim UI component library for SSR-first applications
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-22 05:28 |
Tags
Installation
nimble install tiara
choosenim install tiara
git clone https://github.com/nimmer-jp/tiara
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| tiara | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/nimmer-jp/tiara |
|---|---|
| Homepage | https://github.com/nimmer-jp/tiara |
| Registry Source | nimble_official |
README
Tiara is a deeply optimized, headless-inspired UI component library built entirely in Nim. It focuses on Server-Side Rendering (SSR) applications and delivers beautiful, accessible, and fast web experiences without shipping overly bloated JavaScript.
✨ Features
- Pure Nim: Write your backend, frontend structures, and logic entirely in Nim.
- SSR-First: Highly optimized for Server-Side Rendering workflows.
- Modern Aesthetics: Sleek, headless, and accessible default designs.
- Zero-Bloat: Only ships what you need. Clean HTML outputs.
- Customizable: Easy to override default styles manually to fit your brand.
📦 Installation
Install via Nimble:
nimble install tiara
Note: The website and examples directories are excluded from the Nimble package; tests is skipped. Markdown guides under docs/ are included so Crown integration notes ship with the library.
🚀 Quick Start
Here is a simple example showing how to render a Toast component using Tiara:
import tiara/components/toast
let myToast = renderToast(
message = "Action completely successfully!",
position = "bottom-right",
duration = 3000
)
echo myToast
📚 Documentation
For complete documentation, guides, and interactive examples, please visit the Tiara Official Website (or refer to the docs/ folder).
Crown + Basolato
If you use Tiara with Crown for page templates, read docs/crown-integration.md for import patterns and the tiaraHtml macro (avoids a name clash with Crown’s html). Upstream improvement tracking: docs/improvement-plan-index.md.
🤝 Contributing
We welcome contributions from the community! Feel free to open issues, submit pull requests, or share your ideas on how to improve Tiara.
📜 License
This project is licensed under the MIT License.