
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@libxai/board
Advanced tools
Professional Gantt Chart + Kanban Board + ListView + CalendarBoard for React - Part of LibXAI Suite - TypeScript - Production-Ready - Zero Config
Professional Gantt Chart + Kanban Board for React
Production-ready. TypeScript. Zero configuration.
| Feature | LibXAI | DHTMLX | Bryntum |
|---|---|---|---|
| Critical Path (CPM) | FREE | $1,299/dev | $2,995/dev |
| Auto-Scheduling | FREE | Manual config | Manual config |
| Split Tasks | FREE | Not available | Premium only |
| i18n (EN/ES) | Built-in | Manual | Manual |
| TypeScript | Full types | Partial | Partial |
| React Native | Coming soon | No | No |
npm install @libxai/board
For AI features (optional):
npm install ai
import { GanttBoard } from '@libxai/board';
import '@libxai/board/styles.css';
function App() {
const [tasks, setTasks] = useState([
{
id: '1',
name: 'Project Planning',
startDate: new Date('2024-01-01'),
endDate: new Date('2024-01-15'),
progress: 50,
status: 'in-progress',
},
{
id: '2',
name: 'Development',
startDate: new Date('2024-01-16'),
endDate: new Date('2024-02-15'),
progress: 0,
status: 'todo',
dependencies: ['1'], // Depends on task 1
},
]);
return (
<GanttBoard
tasks={tasks}
onTasksChange={setTasks}
config={{
theme: 'dark',
locale: 'es', // Spanish UI
timeScale: 'week',
// Callbacks for persistence
onTaskUpdate: async (task) => {
await saveToDatabase(task);
},
onMultiTaskDelete: async (taskIds) => {
await deleteFromDatabase(taskIds);
},
// Permissions (CASL compatible)
permissions: {
canCreateTask: true,
canUpdateTask: true,
canDeleteTask: true,
},
}}
/>
);
}
import { KanbanBoard, useKanbanState } from '@libxai/board';
import '@libxai/board/styles.css';
function App() {
const { board, callbacks } = useKanbanState({
initialBoard: {
id: 'my-board',
columns: [
{ id: 'todo', title: 'To Do', position: 1000, cardIds: [] },
{ id: 'doing', title: 'In Progress', position: 2000, cardIds: [] },
{ id: 'done', title: 'Done', position: 3000, cardIds: [] },
],
cards: [],
},
});
return <KanbanBoard board={board} callbacks={callbacks} />;
}
interface GanttConfig {
// Appearance
theme?: 'dark' | 'light' | 'neutral';
locale?: 'en' | 'es';
timeScale?: 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year';
rowDensity?: 'compact' | 'comfortable' | 'spacious';
// Features
enableAutoCriticalPath?: boolean;
showThemeSelector?: boolean;
showCreateTaskButton?: boolean;
// Permissions (CASL compatible)
permissions?: {
canCreateTask?: boolean;
canUpdateTask?: boolean;
canDeleteTask?: boolean;
canReorderTasks?: boolean;
canExport?: boolean;
};
// Callbacks
onTaskClick?: (task: Task) => void;
onTaskDblClick?: (task: Task) => void;
onTaskUpdate?: (task: Task) => void;
onMultiTaskDelete?: (taskIds: string[]) => void;
onProgressChange?: (taskId: string, oldProgress: number, newProgress: number) => void;
// Context Menu Callbacks (v0.16.0+)
onTaskEdit?: (task: Task) => void;
onTaskAddSubtask?: (parentTask: Task) => void;
onTaskMarkIncomplete?: (task: Task) => void;
onTaskSetInProgress?: (task: Task) => void;
// AI Assistant (optional)
aiAssistant?: {
enabled: boolean;
onCommand: (command: string) => Promise<AIResponse>;
};
}
interface Task {
id: string;
name: string;
startDate?: Date;
endDate?: Date;
progress?: number; // 0-100
status?: 'todo' | 'in-progress' | 'completed';
color?: string; // Custom color
isMilestone?: boolean;
parentId?: string; // For subtasks
dependencies?: string[]; // Task IDs
assignees?: Array<{ id: string; name: string; initials: string; color: string }>;
subtasks?: Task[]; // Nested tasks
}
Built-in support for English and Spanish:
<GanttBoard
config={{
locale: 'es', // Spanish
customTranslations: {
// Override specific strings
toolbar: {
createTask: 'Crear Nueva Tarea',
},
},
}}
/>
const frenchTranslations = {
columns: { taskName: 'Nom de la tâche', ... },
toolbar: { createTask: 'Nouvelle tâche', ... },
contextMenu: { editTask: 'Modifier', ... },
};
<GanttBoard
config={{
locale: 'en', // Base
customTranslations: frenchTranslations,
}}
/>
Access methods via ref:
import { GanttBoard, GanttBoardRef } from '@libxai/board';
function App() {
const ganttRef = useRef<GanttBoardRef>(null);
const handleAddTask = () => {
ganttRef.current?.addTask({
name: 'New Task',
startDate: new Date(),
endDate: new Date(Date.now() + 7 * 24 * 60 * 60 * 1000),
});
};
return (
<>
<button onClick={handleAddTask}>Add Task</button>
<button onClick={() => ganttRef.current?.undo()}>Undo</button>
<button onClick={() => ganttRef.current?.exportToPDF()}>Export PDF</button>
<GanttBoard ref={ganttRef} tasks={tasks} />
</>
);
}
addTask(task), updateTask(id, updates), deleteTask(id)splitTask(id, splitDate, gapDays)calculateCriticalPath()undo(), redo()exportToPDF(), exportToExcel(), exportToPNG(), exportToCSV()setZoom(level), scrollToTask(id), scrollToToday()| Import | Size (gzip) |
|---|---|
| GanttBoard only | ~80KB |
| KanbanBoard only | ~60KB |
| Full package | ~120KB |
Business Source License 1.1 (BUSL-1.1)
Made with care by LibXAI
FAQs
Professional Gantt Chart + Kanban Board + ListView + CalendarBoard for React - Part of LibXAI Suite - TypeScript - Production-Ready - Zero Config
We found that @libxai/board 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.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.