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-ui";

Import theme through this public entry.

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

Import utils through this public entry.

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

Import hooks through this public entry.

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

Import styles through this public entry.

import "@alneas/react-ui/styles";

Import theme.css through this public entry.

import "@alneas/react-ui/theme.css";

Import reset.css through this public entry.

import "@alneas/react-ui/reset.css";