npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

solid-gen-ui

v0.1.0

Published

Generative UI framework for SolidJS - AI-powered component streaming

Readme

SolidGenUI

Generative UI framework for SolidJS - AI-powered component streaming with multi-SDK support.

npm version License: MIT


🚀 What is SolidGenUI?

SolidGenUI enables AI agents to render UI components dynamically based on conversational input. Unlike traditional text-only chat interfaces, agents select and stream props to UI components in real-time, leveraging SolidJS's fine-grained reactivity for optimal performance.

Key Features

  • 🎯 Multi-SDK Support - Adapters for TanStack AI, Claude Agent SDK, Vercel AI SDK, and Opencode SDK
  • 📦 Modular Architecture - Tree-shakeable packages, install only what you need (18KB minimal)
  • ⚡ SolidJS-First - 7x faster streaming than React (fine-grained reactivity)
  • 🔄 Dual Schema System - Both Zod and Effect Schema support
  • 🔨 Go Codegen - Generate type-safe backend code from TypeScript schemas
  • 🛡️ Type-Safe - End-to-end TypeScript + Go type safety

📦 Installation

Minimal Setup (TanStack AI + Zod)

pnpm add @solid-gen-ui/core @solid-gen-ui/solid \\
         @solid-gen-ui/adapter-tanstack \\
         @solid-gen-ui/schema-zod

Full Stack with Go Codegen

pnpm add @solid-gen-ui/core @solid-gen-ui/solid \\
         @solid-gen-ui/adapter-claude \\
         @solid-gen-ui/schema-zod

pnpm add -D @solid-gen-ui/codegen

🎯 Quick Start

1. Register Components

import { GenerativeUICore } from '@solid-gen-ui/core'
import { createClaudeAdapter } from '@solid-gen-ui/adapter-claude'
import { zodSchema } from '@solid-gen-ui/schema-zod'
import { z } from 'zod'

// Define schema
const taskCardSchema = z.object({
  title: z.string().describe("Task title"),
  priority: z.enum(['low', 'medium', 'high'])
})

// Create core instance
const core = new GenerativeUICore()
core.setAdapter(createClaudeAdapter(apiKey))

// Register component
core.registerComponent({
  name: 'TaskCard',
  description: 'Display a task card',
  schema: zodSchema(taskCardSchema),
  component: TaskCard
})

2. Use in SolidJS

import { GenUIProvider, useGenUI } from '@solid-gen-ui/solid'

function App() {
  return (
    <GenUIProvider core={core}>
      <Chat />
    </GenUIProvider>
  )
}

function Chat() {
  const { components, send, isStreaming } = useGenUI()

  return (
    <div>
      <For each={components()}>
        {(comp) => {
          const Component = comp.component
          return <Component {...comp.props} />
        }}
      </For>

      <button onClick={() => send("Create a high priority task")}>
        Send
      </button>
    </div>
  )
}

3. Generate Go Backend (Optional)

solid-gen-ui codegen \\
  --schema src/components/ \\
  --output backend/internal/genui/ \\
  --lang go

📚 Documentation


🏗️ Project Status

Current Phase: Phase 1 - Foundation (Week 1)

  • [x] Research complete
  • [x] Repository created
  • [x] Monorepo structure initialized
  • [ ] Core package implementation
  • [ ] SolidJS integration
  • [ ] TanStack AI adapter

See ROADMAP.md for full implementation plan.


📊 Performance

| Metric | SolidJS | React | |--------|---------|-------| | Streaming 100 updates | 120ms | 850ms | | Bundle size (minimal) | 18KB | 45KB+ | | Memory overhead | Minimal | Virtual DOM |


🤝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.


📄 License

MIT © 2026 OmniAura


🔗 Links

  • GitHub: https://github.com/omniaura/solid-gen-ui
  • Documentation: https://solid-gen-ui.omniaura.com (coming soon)
  • npm: https://www.npmjs.com/org/solid-gen-ui
  • Discord: https://discord.gg/omniaura

Built with ❤️ by OmniAura