Zokeibi mark Zokeibi 造形美 v1.4.0
造形美 · Architectural Beauty of Form · PHP 8.5+ · 0 npm · 9.40 KB Gzip · MIT

Zero-npm, Strict-CSP UI Proven on Every Build

Zokeibi (kongono/zokeibi) is a standalone UI component framework and pure PHP 8.5 OKLCH CSS tree-shaker with zero runtime Composer dependencies and zero Node.js. Ship 55 accessible components, 8 turnkey SaaS blocks, pure-SVG charts, DTO-to-UI generators, a local Design Token Studio, and automated Grade A+ WCAG & CSP proofs — on Kongono or any HTML stack.

$ composer require kongono/zokeibi
0
npm or Runtime Composer Deps
55 + 8
Components & SaaS Blocks (MIT)
9.40 KB
Full 55-Component Gzip Bundle
Grade A+
zokeibi prove --strict (100/100)
Strict CSP
script-src 'self' · style-src 'self'
OKLCH Theme
Radius

Live Interactive Showcase — Powered by Zokeibi Itself

This page is styled with Zokeibi's own compiled zokeibi.min.css and zokeibi-runtime.js under strict style-src 'self' CSP. Click the theme pills above or interact with every component below.

0 B JS · Top-Layer Popover API

Buttons, Badges & Native Dropdown

OKLCH Tokens Grade A+ Strict CSP 9.40 KB Gzip
Zero Inline Styles or Eval
Every transition and focus ring runs on native CSS @layer zokeibi.*, color-mix(in oklch, ...), and Top-Layer [popover].
Forms · Strict-CSP Controls

Password Meter & Number Stepper

Interactive
Strength Enter password
https://
0 B JS · Pure Server-Rendered SVG

Pure-SVG Bar & Donut Charts

0 B JS
Tree-Shaken CSS Size by App (KB Gzip) Pure PHP 8.5
Landing: 2.4 KB 2.4 Landing Auth: 3.8 KB 3.8 Auth CRUD: 5.1 KB 5.1 CRUD SaaS: 7.2 KB 7.2 SaaS All 55: 9.4 KB 9.4 All 55
55 Components by Category 100% MIT
Forms: 19 (35%) Primitives: 12 (22%) Data: 9 (16%) Navigation: 8 (15%) Overlays: 7 (13%) 55
  • Forms19
  • Primitives12
  • Data9
  • Navigation8
  • Overlays7
Interactive Combobox + 0 B JS Tree

Multi-Select Tags & File Tree

ARIA
Kongono Live 2.5 Strict CSP
  • views/
    • components/ui/
      • button.kgn.html
      • chart.kgn.html
      • editor.kgn.html
      • password-input.kgn.html
    • dashboard.kgn.html
  • zokeibi.json
Zero innerHTML · Safe DOM Tree Preview

XSS-Safe Markdown Editor (Try Write / Split / Preview)

0 XSS Sinks
Markdown · Safe DOM Preview 0 words · 0 chars
Click Any Header to Sort · Type to Filter

Sortable & Searchable Data Table

DTO-Generated
Sample Zokeibi component benchmarks
Component Category JS Requirement Proof Score
<x-ui.chart>Data (Bar, Donut, Sparkline)0 B JS100
<x-ui.dropdown>Overlays (Top-Layer Popover)0 B JS100
<x-ui.tree>Navigation (Native <details>)0 B JS100
<x-ui.accordion>Navigation (Exclusive <details>)0 B JS100
<x-ui.editor>Forms (XSS-Safe Split Markdown)Runtime100
<x-ui.date-range>Forms (Interactive Range Calendar)Runtime100
<x-ui.command-palette>Overlays (Cmd+K Launcher)Runtime100

Complete Catalog: 55 Components + 8 Turnkey SaaS Blocks

Install only what you use (zokeibi add ...) or everything at once (zokeibi add --all). Every component is 100% MIT licensed and copied directly into your codebase with zero black-box vendor lock-in.

button0 B JS

Primary, outline, emerald, danger, and ghost variants with OKLCH hover states.

badge0 B JS

Semantic status pills with optional pulse dot indicator.

card0 B JS

Structured surface with kicker, header, body, footer, and featured highlight.

alert0 B JS

Accessible status/error callouts for info, success, warning, and danger.

kbd0 B JS

Tactile keyboard shortcut keycaps.

avatar0 B JS

Image or initial fallback avatars with presence dot.

avatar-group0 B JS

Overlapping team avatar stacks with automatic +N overflow pill.

copy-fieldRuntime

Masked API key / secret reveal + one-click clipboard copy with ARIA feedback.

spinner0 B JS

Reduced-motion-aware pure CSS loading spinner.

divider0 B JS

Horizontal, labeled, or vertical hairline separators.

code-blockRuntime

Filename/language header bar with strict-CSP copy button.

bannerRuntime

Dismissible full-width announcement & release notice strip.

input0 B JS

Labeled text/email/url field with hint and validation error state.

input-group0 B JS

Inputs with prefix/suffix addons (https://, USD, .com).

number-inputRuntime

Accessible −/+ numeric stepper honoring min, max, and step.

password-inputRuntime

Show/hide reveal toggle + live 4-segment strength meter.

select0 B JS

Native select styled consistently across dark/light OKLCH themes.

textarea0 B JS

Multi-line text input with label, hint, and error feedback.

switch0 B JS

Pure CSS :has() toggle switch with smooth thumb transition.

checkbox0 B JS

Accessible custom checkbox with optional description text.

radio-group0 B JS

Selectable radio cards powered by CSS :has(:checked).

comboboxRuntime

Searchable ARIA single-select dropdown with hidden value binding.

multi-selectRuntime

Filterable multi-select tag combobox emitting array form inputs.

tag-inputRuntime

Free-form Enter/comma tag chip builder with Backspace removal.

dropzoneRuntime

Drag-and-drop file upload zone listing selected file names & sizes.

datepickerRuntime

Native date input enhanced with quick relative offset presets.

date-rangeRuntime

Interactive month grid calendar with start/end range highlight & presets.

sliderRuntime

Range slider with live unit-formatted readout.

otp-inputRuntime

6-digit verification code inputs with paste distribution & auto-advance.

editorRuntime

XSS-safe split Markdown editor using safe DOM creation (zero innerHTML).

rating0 B JS

Pure CSS radio star rating input (zero JavaScript).

chart0 B JS

Pure server-rendered SVG Bar, Donut, and Sparkline charts.

tableRuntime

Responsive table with instant search filtering and numeric/text column sort.

kpi0 B JS

Executive metric tiles with delta indicators and accent tones.

progress0 B JS

Native <progress> bar styled with semantic OKLCH tokens.

skeleton0 B JS

Shimmer placeholders for text lines, circles, and cards.

empty-state0 B JS

Focused zero-data callout with primary and secondary actions.

timeline0 B JS

Vertical audit log & activity feed timeline.

description-list0 B JS

Structured key/value metadata grids (1, 2, or 3 columns).

carousel0 B JS

Smooth CSS scroll-snap horizontal showcase strip.

tabsRuntime

ARIA tablist + tabpanels with live selection state.

accordion0 B JS

Native HTML <details name="..."> exclusive accordions.

stepper0 B JS

Multi-step onboarding and checkout progress rail.

pagination0 B JS

Accessible page navigation with prev/next and current-page state.

breadcrumb0 B JS

Semantic <nav aria-label="Breadcrumb"> hierarchy trail.

segmented0 B JS

Compact segmented radio/link mode switcher.

sidebar0 B JS

Grouped workspace navigation rail with item counters.

tree0 B JS

Nested directory/file tree built on native <details> elements.

dropdown0 B JS

Native HTML Top-Layer [popover] action menu with shortcuts.

popover0 B JS

Native Top-Layer floating info card with @starting-style animation.

tooltip0 B JS

Pure CSS hover and focus-visible hint bubble.

modalRuntime

Accessible modal dialog with Esc, backdrop click, and focus shift.

drawerRuntime

Slide-over panel for detail editors and inspectors.

toastRuntime

Dismissible live-region notifications for async feedback.

command-paletteRuntime

Global Cmd+K / Ctrl+K keyboard command launcher.

saas-shellBlock

Full workspace shell with sidebar, topbar, Cmd+K, and content frame.

auth-loginBlock

Strict-CSP login, passkey, and OTP sign-in page.

settings-billingBlock

Workspace profile, plan usage, and invoice table layout.

pricing-gridBlock

Three-tier SaaS pricing comparison with highlighted pro card.

empty-onboardingBlock

Guided first-run checklist and stepper page.

error-pageBlock

Clean 404 / 500 error page with KGN-* incident reference.

analytics-dashboardBlock

KPIs, pure-SVG charts, date-range picker, and sortable table.

api-keys-auditBlock

Masked token management, copy fields, and security audit timeline.

CLI Workflow, DTO-to-UI & Executable Proof Gate

Zero Node.js, zero PostCSS, zero Vite plugins required. Compile OKLCH CSS, scaffold DTO forms and tables, launch the local Token Studio, and mathematically prove accessibility & bundle budgets from one PHP binary.

1. Install, Scaffold & Tree-Shake

composer require kongono/zokeibi

# Initialize project tokens (zokeibi.json)
php vendor/bin/zokeibi init --theme=sumi

# Copy owned <x-ui.*> templates into views/components/ui/
php vendor/bin/zokeibi add button card chart editor tree password-input
php vendor/bin/zokeibi block add saas-shell analytics-dashboard

# Generate forms & sortable tables directly from PHP 8.5 DTOs
php vendor/bin/zokeibi form App\\Dto\\CreateOrderInput --out=views/orders/form.kgn.html
php vendor/bin/zokeibi table App\\Dto\\OrderRow --out=views/orders/table.kgn.html

# Pure PHP CSS tree-shaker + optional 1.5 KB strict-CSP runtime
php vendor/bin/zokeibi build --views=views --out=public/assets/zokeibi.min.css
php vendor/bin/zokeibi runtime --out=public/assets/zokeibi-runtime.js

# Local OKLCH Design Token Studio GUI (with Live Hot-Swap Sync)
php vendor/bin/zokeibi studio --dir=. --port=8101

2. Executable UI Proof Certificate

$ php vendor/bin/zokeibi prove --dir=. --views=views --strict

Zokeibi (造形美) UI Proof Certificate — Grade A+ (100/100 · PASS · 20.7 ms)
  [1] WCAG 2.1 AA Contrast: PASS (100/100 · 2 theme(s) checked)
  [2] UI Schema & CSP Audit: PASS (100/100 · 58 file(s), 0 err, 0 warn)
  [3] Gzip CSS Budget:      PASS (100/100 · 9.40 KB / 10.00 KB max · 55 components)
AI-Native · Zero Hallucinations

Kongono MCP Tool: kongono_zokeibi_registry

Exposes your app's zokeibi.json, installed <x-ui.*> templates, prop enums, and SaaS blocks over stdio MCP so Cursor, Claude Code, Codex, and Antigravity generate 100% schema-valid UI.

Built for Kongono — Zero Lock-In on Any Stack

kongono/zokeibi requires only PHP >= 8.5.13 with zero runtime Composer dependencies. Use it directly with Kongono Live 2.5 or export tokens and tree-shake .z-* classes across HTML, HTMX, Twig, Blade, React, Vue, and Svelte.

Tree-Shaker

Multi-Template Scanner

Scans .kgn.html, .html, .php, .twig, .blade.php, .jsx, .tsx, .vue, and .svelte for both <x-ui.*> tags and .z-* classes.

W3C & Tailwind v4

Universal Token Export

Run zokeibi export --format=w3c-tokens for Figma/Design Tokens or --format=tailwind for Tailwind v4 @theme blocks.

Standalone Runtime

Zero-Dependency JS

Drop zokeibi-runtime.js into plain HTML or HTMX apps for modals, drawers, Cmd+K, comboboxes, date ranges, sortable tables, and safe Markdown preview.