Skip to content

Bundler integration

tekivex-ui works with every major bundler and meta-framework. Pick yours below; the recipe is copy-pasteable.

tekivex-ui is ESM-first with TypeScript declarations. Vite needs zero config — just install, import the stylesheet, wrap your app.

Terminal window
npm install tekivex-ui react react-dom
// vite.config.ts (optional — only for faster dev cold-starts)
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
optimizeDeps: { include: ['tekivex-ui'] },
});
main.tsx
import { createRoot } from 'react-dom/client';
import { ThemeProvider } from 'tekivex-ui';
import 'tekivex-ui/styles';
import App from './App';
createRoot(document.getElementById('root')!).render(
<ThemeProvider mode="auto">
<App />
</ThemeProvider>,
);

Drop this anywhere:

import { TkxCard, TkxCardBody, TkxButton, TkxBadge } from 'tekivex-ui';
export function HealthCheck() {
return (
<TkxCard>
<TkxCardBody>
<TkxBadge variant="success">tekivex-ui v2.7 ready</TkxBadge>
<TkxButton style={{ marginLeft: 12 }}>Click me</TkxButton>
</TkxCardBody>
</TkxCard>
);
}

If you see a styled card and a button, the integration is correct.

Bundler not listed?

Open an issue with your config and we’ll add a recipe within 48 hours.