Loading...
Loading...
Add an iblai component or feature to your app
npx skill4agent add iblai/vibe iblai-componentAI Assistant: Before adding a component or creating a new app, check for ain the project root. Look foriblai.env,PLATFORM, andDOMAINvariables. If the file does not exist or is missing these variables, tell the user: "You need anTOKENwith your platform configuration. Download the template and fill in your values:iblai.env"curl -o iblai.env https://raw.githubusercontent.com/iblai/vibe/refs/heads/main/iblai.envis NOT aiblai.envreplacement — it only holds the 3 shorthand variables. Next.js still reads runtime env vars from.env.local..env.localUseas the default package manager. Fall back topnpmif pnpm is not installed. The generated app should live in the current directory, not in a subdirectory.npm
PLATFORMiblai.env--platformiblai.envnpx create-next-app@latest . --yes
iblai add auth
iblai add chat
pnpm deviblai startapp agent -o .iblai-init
cp -a .iblai-init/<app-name>/. . && rm -rf .iblai-init
cp .env.example .env.local
pnpm install && pnpm deviblai startapp agent --yes --platform acme --agent my-id --app-name my-app -o .iblai-init
cp -a .iblai-init/my-app/. . && rm -rf .iblai-init
cp .env.example .env.localexport ANTHROPIC_API_KEY=<your-key>
iblai startapp agent \
--prompt "kids learning assistant with bright colors"| Command | What It Adds | Skill |
|---|---|---|
| MCP servers + skills (run first) | |
| SSO authentication | |
| AI chat widget (requires agent ID) | |
| User profile dropdown | |
| Account/organization settings | |
| Analytics dashboard | |
| Notification bell | |
| User invitation dialogs | | |
| Workflow builder components | | |
| Tauri v2 desktop/mobile shell |
@iblai/iblai-js/web-containersget_component_infoget_hook_infoAuto-generated fromtype declarations. Re-generate with:@iblai/web-containers@1.1.28iblai update-gallery <path>
| Export | Import | Description |
|---|---|---|
| sso | Default localStorage key constants for SSO |
| root | Auth login button -- redirects to |
| root | Signup button -- opens signup flow, optionally in new tab |
| next | SSO callback handler -- stores tokens from URL into localStorage and redirects |
import { DEFAULT_SSO_STORAGE_KEYS } from "@iblai/iblai-js/web-containers/sso";
import { LoginButton, SignupButton } from "@iblai/iblai-js/web-containers";
import { SsoLogin } from "@iblai/iblai-js/web-containers/next";| Export | Import | Description |
|---|---|---|
| next | Account/org settings with tabs (Organization, Management, Integrations, Advanced, Billing) |
| root | Company selection dialog |
| root | Dialog for adding/editing education |
| root | Education background management |
| root | Dialog for adding/editing experience |
| root | Professional experience management |
| root | Institution selection dialog |
| root | Dialog to invite users to a tenant |
| root | Dialog showing pending invitations |
| root | Local LLM model management (Tauri desktop) |
| next | Organization settings tab |
| root | Full profile management component |
| root | Resume upload and display |
| next | Avatar dropdown with profile, organization, tenant switcher, logout |
| next | Profile editing modal with tabs (Basic, Social, Education, Experience, Resume, Security) |
import { Account, OrganizationTab, UserProfileDropdown, UserProfileModal } from "@iblai/iblai-js/web-containers/next";
import { CompanyDialog, EducationDialog, EducationTab, ExperienceDialog, ExperienceTab, InstitutionDialog, ... } from "@iblai/iblai-js/web-containers";| Export | Import | Description |
|---|---|---|
| root | Switch between tenants/organizations with RBAC support |
import { TenantSwitcher } from "@iblai/iblai-js/web-containers";| Export | Import | Description |
|---|---|---|
| root | Access time heatmap visualization |
| root | Single course detail view |
| root | Course analytics listing |
| root | Financial/billing statistics |
| root | Layout wrapper for analytics pages |
| root | Overview dashboard with key metrics |
| root | Single program detail view |
| root | Program analytics listing |
| root | Download analytics reports |
| root | Report listing and management |
| root | Context provider for analytics settings |
| root | Topic/conversation statistics |
| root | Transcript browsing and search |
| root | User activity statistics |
| root | Wrapper for chart visualizations |
| root | Context provider for chart filter state |
| root | Custom date range selector |
| root | Empty state placeholder for stats |
| root | Filter analytics by user groups |
| root | Single statistic card |
| root | Time range filter dropdown |
import { AccessTimeHeatmap, AnalyticsCourseDetail, AnalyticsCourses, AnalyticsFinancialStats, AnalyticsLayout, AnalyticsOverview, ... } from "@iblai/iblai-js/web-containers";| Export | Import | Description |
|---|---|---|
| root | Alert management tab |
| root | Dialog to create/edit alerts |
| root | Full notification center with Inbox and Alerts tabs |
| root | Bell icon with unread badge -- compact navbar widget |
| root | Dialog to compose and send notifications (admin) |
import { AlertsTab, EditAlertDialog, NotificationDisplay, NotificationDropdown, SendNotificationDialog } from "@iblai/iblai-js/web-containers";| Export | Import | Description |
|---|---|---|
| next | Collapsible sidebar with menu items, projects, pinned/recent messages |
| next | Guided prompt cards for starting conversations |
| next | Top navigation bar with user menu, mentor dropdown, new chat action |
import { AppSidebar, ConversationStarters, NavBar } from "@iblai/iblai-js/web-containers/next";| Export | Import | Description |
|---|---|---|
| root | Connector setup and management |
| root | Create new workflow modal |
| root | Delete workflow confirmation |
| root | Tool configuration dialogs |
| root | Workflow node type browser sidebar |
import { ConnectorManagementDialog, CreateWorkflowModal, DeleteWorkflowModal, ToolDialogs, WorkflowSidebar } from "@iblai/iblai-js/web-containers";| Export | Import | Description |
|---|---|---|
| root | Copy-to-clipboard button icon |
| root | Loading overlay component |
| root | Markdown renderer with syntax highlighting and copy buttons |
| root | Tiptap-based rich text editor (HTML or Markdown output) |
| root | Multi-select dropdown with search filtering |
| root | Loading spinner (sm, md, lg) |
| root | Provider for automatic time tracking |
| root | Dismissible top banner notification bar |
| root | App version display footer |
import { CopyButtonIcon, Loader, Markdown, RichTextEditor, SearchableMultiSelect, Spinner, ... } from "@iblai/iblai-js/web-containers";| Export | Import | Description |
|---|---|---|
| next | Client-side error boundary page |
| next | Error page with code, message, support link, home button |
import { ClientErrorPage, ErrorPage } from "@iblai/iblai-js/web-containers/next";| Export | Import | Description |
|---|---|---|
| root | Tauri IPC command name constants |
| root | Tauri event name constants |
import { TAURI_COMMANDS, TAURI_EVENTS } from "@iblai/iblai-js/web-containers";AlertDialogAvatarBadgeButtonCalendarCardCardContentCardDescriptionCardFooterCardHeaderCardTitleChartCheckboxDialogDropdownMenuInputLabelPaginationPopoverProgressRadioGroupSelectSeparatorSheetSidebarSkeletonSonnerSwitchTableTabsTextareaToastToasterToggleTooltipNote: For your own UI, install shadcn/ui directly () rather than importing these from the SDK. The SDK exports are for internal use and SDK component customization.npx shadcn@latest add ...
npx shadcn@latest add button dialog table formnpx shadcn@latest add @shadcn-space/hero-01iblaiiblai --versionpip install --upgrade iblai-app-clinpm install -g @iblai/cli@latestiblaiiblai --version/iblai-authiblai add mcpnpx create-next-app@latestiblai add authiblai startapp agent