@blockether/foundation-react
v3.0.4
Published
Browser-based SQL cockpit and AI chat UI components for React. Powered by DuckDB-WASM and shadcn/ui. Designed for agno and blockether_foundation Python libraries.
Downloads
72
Readme
@blockether/foundation-react
React-based chat UI foundation with integrated SQL analysis capabilities.
Installation
npm install @blockether/foundation-react
# or
pnpm add @blockether/foundation-react
# or
yarn add @blockether/foundation-reactQuick Start
import { FoundationProvider, SQLCockpit } from '@blockether/foundation-react'
function App() {
return (
<FoundationProvider config={{ defaultTheme: 'light' }}>
<SQLCockpit />
</FoundationProvider>
)
}Features
- Unified Provider:
FoundationProvidercombines theme, logging, and shadow DOM support - SQL Cockpit: Interactive SQL editor with DuckDB integration
- AI Assistant: Chat interface with completion support
- Shadow DOM Support: Full encapsulation for embedding in web components
- Comprehensive Logging: Centralized, configurable logging system
- TypeScript: Full type safety throughout
License
MIT
