ziko-wrapper
integrate zikojs elements within other ui framework like vue react solidjs svelte astro ...
5,604
49
| Install | |
|---|---|
npm install ziko-wrapper |
|
| Latest Version: | 0.35.0 |
| License: | MIT |
| Last Updated: | Oct 13, 2026 |
| Links: | GitHub · npm |
Maintainer: zakarialaoui10
Ziko-wrapper
Ziko-Wrapper is a tool that facilitates the rendering of ZikoJS elements within other frameworks and the embedding of framework-specific components into ZikoJS, enabling seamless integration and interoperability between different ecosystems.
Current Support Table for Ziko-Wrapper
| Framework/Library | Integrate ZikoJS | Get Integrated in ZikoJS | Remark |
|---|---|---|---|
| React | ✅ Supported | ✅ Supported | |
| Svelte | ✅ Supported | ✅ Supported | |
| Solid | ✅ Supported | ✅ Supported | |
| Vue | ✅ Supported | ✅ Supported | |
| Preact | ✅ Supported | ✅ Supported | |
| Astro | ✅ Supported | ❌ Not Supported | Astro |
| Next | ✅ Supported | ❌ Not Supported | |
| Remix | ✅ Supported | ❌ Not Supported | |
| SvelteKit | ✅ Supported | ❌ Not Supported | |
| React Native | ✅ Supported | ❌ Not Supported |
Integrate Zikojs inside Other Environment
UI Decalaration
// HelloFromZiko.js
import {h1} from "ziko"
export default HelloFromZiko=({color})=>{
return h1(`Hello World, this is a Zikojs component.`).style({
color
})
}
Use
JSX Based
import ZikoWrapper from "ziko-wrapper/react"
// import ZikoWrapper from "ziko-wrapper/solid"
// import ZikoWrapper from "ziko-wrapper/preact"
import HelloFromZiko from "./HelloFromZiko.js"
export default function App(){
return (
<ZikoWrapper>
<HelloFromZiko
color="blue"
/>
</ZikoWrapper>
)
}
Vue
<script>
import ZikoWrapper from "ziko-wrapper/vue"
import HelloFromZiko from "./HelloFromZiko.js"
</script>
<template>
<ZikoWrapper>
<HelloFromZiko
color="green"
/>
</ZikoWrapper>
</template>
Svelte
---
import ZikoWrapper from "ziko-wrapper/svelte";
import HelloFromZiko from "./HelloFromZiko.js"
---
<ZikoWrapper ui={HelloFromZiko({color:"orange"})}/>
Astro
- Customize the astro.config.mjs file
import { defineConfig } from 'astro/config';
import ziko from "ziko-wrapper/astro"
export default defineConfig({
integrations : [
ziko()
]
})
- Define The component
// HelloFromZikoJs.js
import {p} from "ziko"
export default HelloFromZikoJs=({color})=>p("Hello From Zikojs").style({color})
- Render The component
---
import HelloFromZiko from "./HelloFromZiko.js"
---
<HelloFromZiko
color="orange"
client:only
/>
Integrate Other Framewrok components inside Zikojs
React
Solid
Svelte
Vue
Preact
Supports
Licence
Related Packages
@passlock/browser
Flexible passkey authentication for Astro, SvelteKit, NextJS and other framework...
5,281
192
Version History
| Version | Released | License |
|---|---|---|
| 0.35.0 | MIT | |
| 0.34.0 | MIT | |
| 0.33.0 | MIT | |
| 0.32.0 | MIT | |
| 0.31.0 | MIT | |
| 0.30.4 | MIT | |
| 0.30.3 | MIT | |
| 0.30.2 | MIT | |
| 0.30.1 | MIT | |
| 0.30.0 | MIT | |
| 0.29.0 | MIT | |
| 0.28.4 | MIT | |
| 0.28.3 | MIT | |
| 0.28.2 | MIT | |
| 0.28.1 | MIT | |
| 0.28.0 | MIT | |
| 0.0.28 | MIT | |
| 0.0.27 | MIT | |
| 0.0.26 | MIT | |
| 0.0.25 | MIT | |
| 0.0.24 | MIT | |
| 0.0.23 | MIT | |
| 0.0.22 | MIT | |
| 0.0.21 | MIT | |
| 0.0.20 | MIT | |
| 0.0.19 | MIT | |
| 0.0.18 | MIT | |
| 0.0.17 | MIT | |
| 0.0.16 | MIT | |
| 0.0.15 | MIT |
Showing the latest 30 of 45. See every release on npm