Skip to content

Entry point reference

Each snippet is an independent import example. Choose only the entry needed by the application. Use import type for type-only declarations. SDK integrations require their feature-specific optional peers from package.json. Import CSS explicitly in the application.

Import Core API through this public entry.

import * as api from "@alneas/react-ai";

Import generative-ui through this public entry.

import * as api from "@alneas/react-ai/generative-ui";

Import proposal through this public entry.

import * as api from "@alneas/react-ai/proposal";

Import action through this public entry.

import * as api from "@alneas/react-ai/action";

Import ai-chat through this public entry.

import * as api from "@alneas/react-ai/ai-chat";