Open-source AI-native component library with cognitive psychology integration. 161 Web Components. 1,800+ design tokens. 184 cognitive biases. MIT licensed.
<!-- Import once -->
<script type="module" src="@cognivo/components"></script>
<!-- Use anywhere -->
<ai-chat></ai-chat>
<cg-button variant="primary">Get Started</cg-button> Because none of them were built for what's coming.
Components, AI integration, and cognitive psychology — in one system.
Chat, streaming text, thinking indicators, command palettes, confidence sliders — built for AI-first interfaces.
3-tier architecture: core primitives, semantic layer, component-specific. Full dark mode. Zero magic numbers.
184 documented cognitive biases with design implications. Know which biases your UI triggers and why.
Web Components work everywhere. First-class React and Vue adapters included. No lock-in.
ARIA roles, keyboard navigation, focus management, reduced-motion support, 44px touch targets. All built-in.
Parse and render AI model outputs in real-time. Component registry resolves streaming JSON to live UI.
pnpm workspaces + Turborepo. Install what you need.
@cognivo/components 161 Lit web components with Shadow DOM @cognivo/tokens 1,800+ design tokens, 3-tier system @cognivo/core Framework-agnostic AI client + patterns @cognivo/gen-ui Streaming parser & component registry @cognivo/adapter-react React wrappers with TypeScript props @cognivo/adapter-vue Vue wrappers with TypeScript props @cognivo/adapter-openai OpenAI client with structured outputs @cognivo/design-advisor 184 cognitive bias cards & registry Free forever. No vendor lock-in. Build what you want.
Use Cognivo in personal projects, startups, and enterprise products. No attribution required. No usage limits. No premium tier.
Every component, token, and bias card is open for contribution. File issues, submit PRs, and shape the roadmap on GitHub.
Web Components work in every framework. Standard CSS custom properties. No proprietary runtime. Fork it, extend it, own it.
Get started in under 2 minutes. Zero config.
pnpm add @cognivo/components @cognivo/tokens