Skip to content

Conversation

3w36zj6
Copy link

@3w36zj6 3w36zj6 commented Jul 17, 2025

📝 Description

This PR adds a wrapper for Hono JSX. I believe Hono is a very attractive library, but as far as I know, there are no component libraries that support Hono JSX. Making integration with zag easier will be beneficial for users of both libraries.

🚀 New behavior

Hono users can now become zaggers by using @zag-js/hono-jsx.

💣 Is this a breaking change (Yes/No):

No.

📝 Additional Information

Copy link

changeset-bot bot commented Jul 17, 2025

⚠️ No Changeset found

Latest commit: e269068

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package "hono-jsx-ts" depends on the ignored package "@zag-js/shared", but "hono-jsx-ts" is not being ignored. Please add "hono-jsx-ts" to the `ignore` option.

Copy link

vercel bot commented Jul 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
zag-nextjs ✅ Ready (Inspect) Visit Preview Jul 18, 2025 2:28pm
zag-solid ✅ Ready (Inspect) Visit Preview Jul 18, 2025 2:28pm
zag-svelte ✅ Ready (Inspect) Visit Preview Jul 18, 2025 2:28pm
zag-vue ✅ Ready (Inspect) Visit Preview Jul 18, 2025 2:28pm
zag-website ✅ Ready (Inspect) Visit Preview Jul 18, 2025 2:28pm

@segunadebayo
Copy link
Member

Nice. Never thought about this. It’s an interesting use case for Zag.

Could you create a single component example so we can test it out?

@3w36zj6
Copy link
Author

3w36zj6 commented Jul 18, 2025

Hi @segunadebayo,

I've created an example project in examples/hono-jsx-ts for testing the Hono JSX wrapper.
Let me know if you need anything else or further examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants