Thesys Generative UI
Last Updated: 2025-11-10
Quick Start
import { generateUI } from 'thesys';
const ui = await generateUI({
prompt: 'Create a user profile card with avatar, name, and email',
schema: {
type: 'component',
props: ['name', 'email', 'avatar']
}
});
export default function Profile() {
return <div>{ui}</div>;
}
Core Features
- Natural Language: Describe UI in plain English
- Schema-Driven: Type-safe component generation
- React Components: Generate production-ready components
- AI-Powered: Uses LLMs for intelligent design
Example
const form = await generateUI({
prompt: 'Create a contact form with name, email, and message fields',
theme: 'modern'
});
Resources
Core Documentation
references/what-is-thesys.md - What is TheSys C1, success metrics, getting started
references/use-cases-examples.md - When to use, 12 errors prevented, all templates catalog
references/tool-calling.md - Complete tool calling guide with Zod schemas
references/integration-guide.md - Complete setup for Vite, Next.js, Cloudflare Workers
Additional References
references/component-api.md - Complete component prop reference
references/ai-provider-setup.md - OpenAI, Anthropic, Cloudflare Workers AI setup
references/tool-calling-guide.md - Tool calling patterns
references/theme-customization.md - Theme system deep dive
references/common-errors.md - Expanded error catalog
Templates (15+ files)
- Vite + React:
basic-chat.tsx, custom-component.tsx, tool-calling.tsx, theme-dark-mode.tsx
- Next.js:
app/page.tsx, app/api/chat/route.ts, tool-calling-route.ts
- Cloudflare Workers:
worker-backend.ts, frontend-setup.tsx
- Utilities:
theme-config.ts, tool-schemas.ts, streaming-utils.ts
Official Docs: https://docs.thesys.dev | Playground: https://console.thesys.dev/playground
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: secondsky-claude-skills-thesys-generative-ui3description: Thesys Generative UI4---56# Thesys Generative UI78**Last Updated**: 2025-11-10910## Quick Start1112```typescript13import { generateUI } from 'thesys';1415const ui = await generateUI({16 prompt: 'Create a user profile card with avatar, name, and email',17 schema: {18 type: 'component',19 props: ['name', 'email', 'avatar']20 }21});2223export default function Profile() {24 return <div>{ui}</div>;25}26```2728## Core Features2930- **Natural Language**: Describe UI in plain English31- **Schema-Driven**: Type-safe component generation32- **React Components**: Generate production-ready components33- **AI-Powered**: Uses LLMs for intelligent design3435## Example3637```typescript38const form = await generateUI({39 prompt: 'Create a contact form with name, email, and message fields',40 theme: 'modern'41});42```4344## Resources4546### Core Documentation47- `references/what-is-thesys.md` - What is TheSys C1, success metrics, getting started48- `references/use-cases-examples.md` - When to use, 12 errors prevented, all templates catalog49- `references/tool-calling.md` - Complete tool calling guide with Zod schemas50- `references/integration-guide.md` - Complete setup for Vite, Next.js, Cloudflare Workers5152### Additional References53- `references/component-api.md` - Complete component prop reference54- `references/ai-provider-setup.md` - OpenAI, Anthropic, Cloudflare Workers AI setup55- `references/tool-calling-guide.md` - Tool calling patterns56- `references/theme-customization.md` - Theme system deep dive57- `references/common-errors.md` - Expanded error catalog5859### Templates (15+ files)60- **Vite + React**: `basic-chat.tsx`, `custom-component.tsx`, `tool-calling.tsx`, `theme-dark-mode.tsx`61- **Next.js**: `app/page.tsx`, `app/api/chat/route.ts`, `tool-calling-route.ts`62- **Cloudflare Workers**: `worker-backend.ts`, `frontend-setup.tsx`63- **Utilities**: `theme-config.ts`, `tool-schemas.ts`, `streaming-utils.ts`6465**Official Docs**: https://docs.thesys.dev | **Playground**: https://console.thesys.dev/playground6667---68> Converted and distributed by [TomeVault](https://tomevault.io/claim/secondsky) — claim your Tome and manage your conversions.69<!-- tomevault:4.0:skill_md:2026-04-11 -->