
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
teko-chatbot-ui
Advanced tools
A React component library that provides a floating chatbot widget with customizable themes, real-time messaging, and easy integration.
A React component library that provides a floating chatbot widget with customizable themes, real-time messaging, and easy integration.
This library is designed to be completely safe for Server-Side Rendering (SSR) environments like Next.js. The following safety measures are implemented:
typeof window !== 'undefined' checks// The component automatically detects SSR and renders safely
import FloatingChatbot from 'teko-chatbot-ui';
// During SSR: Renders only the floating button placeholder
// During Client: Renders full interactive component
<FloatingChatbot
terminalId='your-terminal-id'
// ... other props
/>;
npm install teko-chatbot-ui
# or
yarn add teko-chatbot-ui
import FloatingChatbot from 'teko-chatbot-ui';
function App() {
return (
<FloatingChatbot
terminalId='your-terminal-id'
aiAgentCode='SGC'
env='DEV'
getAccessToken={() => 'your-access-token'}
getUserId={() => 'user-id'}
/>
);
}
The library works seamlessly with Next.js without any additional configuration:
// pages/index.tsx or app/page.tsx
import FloatingChatbot from 'teko-chatbot-ui';
export default function HomePage() {
return (
<div>
<h1>Welcome to our site</h1>
<FloatingChatbot
terminalId='your-terminal-id'
aiAgentCode='SGC'
env='PROD'
getAccessToken={() => localStorage.getItem('token') || ''}
getUserId={() => localStorage.getItem('userId') || ''}
/>
</div>
);
}
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
terminalId | string | ✅ | - | Terminal identifier |
aiAgentCode | string | ❌ | 'SGC' | AI agent code |
env | 'DEV' | 'STAG' | 'PROD' | ❌ | 'DEV' | Environment |
getAccessToken | () => string | ✅ | - | Function to get access token |
getUserId | () => string | ❌ | - | Function to get user ID |
position | 'fixed' | 'absolute' | ❌ | 'fixed' | Position of the chatbot |
theme | 'light' | 'dark' | ❌ | 'light' | Theme |
title | string | ❌ | 'Chat Support' | Chat title |
placeholder | string | ❌ | 'Type your message...' | Input placeholder |
lng | string | ❌ | 'en' | Language code |
onError | (error: Error) => void | ❌ | - | Error handler |
errorFallback | React.ReactNode | ❌ | - | Error fallback component |
ISC
FAQs
A React component library that provides a floating chatbot widget with customizable themes, real-time messaging, and easy integration.
We found that teko-chatbot-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.