@pika-lab/react
Composable React 19 UI components for modern web apps and AI interfaces.
Install
pnpm add @pika-lab/react react react-dom
Requires react and react-dom ^19.0.0.
Usage
import { Button, ConfigProvider, zhCN } from "@pika-lab/react";
export function App() {
return (
<ConfigProvider locale={zhCN}>
<Button type="primary">Save</Button>
</ConfigProvider>
);
}
Component styles (pika.css) are imported automatically by the JavaScript entrypoints — no separate stylesheet import is required. If your setup needs an explicit CSS reference, import @pika-lab/react/pika.css.
Subpath exports
@pika-lab/react — core UI components, ConfigProvider, and locales (enUS, zhCN)
@pika-lab/react/markdown — Markdown, MarkdownInline, and built-in extensions
@pika-lab/react/shiki — build-time Shiki theme and transformer (no React or CSS, safe in Node configs)
@pika-lab/react/person-avatar — layered pixel portrait avatar renderer
@pika-lab/react/pika.css — compiled component stylesheet
Documentation & companion packages
- Docs: pika.botiverse.build
@pika-lab/hooks — standalone React 19 hooks
@pika-lab/icons — AI vendor, model, and coding tool logos
License
MIT