Accessible Daylight-First semantic HTML5 KPI cards, sortable data tables, status pills, alerts, breadcrumbs, tabs, and modal dialogs.
Accessible Light-First HTML5 UI component library for Veko web applications, built directly on lib/html homoiconic Hiccup blocks.
veko pkg add veko_ui_kit@1.0.0Import in any Veko module:
use [ui = veko_ui_kit]Existing imports of veko_ui_kit/kit remain supported via re-exports.
[.tag { ... } [...]] Hiccup blocks compatible with lib/html (html/render), lib/web (web/view, web/page), and web_live (live/diff-trees virtual DOM morphing).alert-banner automatically selects role="alert" for warning/danger tones and role="status" for informational tones.modal-dialog emits native <dialog aria-modal="true"> wired to its heading via aria-labelledby and <form method="dialog"> dismissal.breadcrumb marks the active leaf with aria-current="page".tabs-nav emits role="tablist" buttons with roving tabindex, aria-selected, and aria-controls.form-field links <label for="...">, aria-required, aria-invalid, and aria-describedby across hint and validation error paragraphs.ui/light-theme-css provides clean Slate/Sky CSS custom properties (--vk-bg, --vk-surface, --vk-border, --vk-text, --vk-accent) ready for <style> embedding with zero external asset pipelines.ui/status-pill tone label -> blockui/kpi-card title value delta [/tone str] [/subtitle str] -> blockui/alert-banner tone title message [/dismissible bool] -> blockui/data-table columns rows [/caption str] [/empty-text str] -> blockui/modal-dialog id title body_children [/footer block] [/open bool] -> blockui/breadcrumb items -> blockui/tabs-nav group_id tabs active_id -> blockui/form-field id label_text input_type [/value str] [/placeholder str] [/hint str] [/error str] [/required bool] -> blockui/light-theme-css -> strui/render node -> struse [ui = veko_ui_kit, html]
cols = [
{ key = 'name', label = 'Service' }
{ key = 'status', label = 'Health' }
]
rows = [
{ name = 'auth-api', status = (ui/status-pill 'ok' 'Operational') }
]
doc = html/document 'System Status' [(html/style-el (ui/light-theme-css))] [
(ui/kpi-card/tone 'Uptime' '99.99%' '+0.02%' 'ok')
(ui/data-table/caption cols rows 'Core Services')
]
println (html/render doc)https://veko-lang.org/pkg/veko_ui_kit/1.0.0.vkp25a0fdc2a08274990b7600b11bdf292632d26d664a918179b3b937c6d080d4ac198456bede6e1d1fa13b0cc2920960f851009fd52b0e4bd567541a7ed5f9aedced25519:27406074d8681da1d4e6420f5d887cac15c313334c249ac047ba9d4e2df72b70{"name":"veko_ui_kit","version":"1.0.0","tier":6.0,"tier_label":"Tier 6: Local-First, IoT, Web & Media","category":"Light-First HTML5 UI Kit","description":"Accessible Daylight-First semantic HTML5 KPI cards, sortable data tables, status pills, alerts, breadcrumbs, tabs, and modal dialogs.","modules":["veko_ui_kit/kit","veko_ui_kit"],"homepage":"https://veko-lang.org/packages/veko_ui_kit"}| Bundle Entry Path | Size | Leaf SHA-256 Digest |
|---|---|---|
| README.md | 2 KB | 5a15f173dc20339848b9d16cda9f94d3ce8455b8b2730cba2e0c2686972bf024 |
| examples/demo.vk | 5 KB | c5c77382cf188ada11c098b29763a2f15b1cdbef205d96d7a4f91229a689d42a |
| kit.vk | 1 KB | 6a95ceb27d4e4c44ee56f8b37ddbc436c8b604005523811d0d6ffa68769709ee |
| mod.vk | 8 KB | e025de4d7d4eff3083196c7079f10140a68b84aa530423ec6152a2522cbbebf9 |