Skip to content

Imports

Public subpath exports and when to use them.

ImportUse
@fluentic/styleRuntime API, default style builder, selectors, sheet utilities, React hooks and types.
@fluentic/style/jsx/runtimeProduction JSX runtime.
@fluentic/style/jsx/dev-runtimeDevelopment JSX runtime.
@fluentic/style/plugin/nextjsNext.js App Router adapter.
@fluentic/style/plugin/viteVite adapter.
@fluentic/style/plugin/rollupRollup adapter.
@fluentic/style/plugin/webpackWebpack adapter.
@fluentic/style/plugin/rspackRspack adapter.
@fluentic/style/plugin/rolldownRolldown adapter.
@fluentic/style/plugin/esbuildesbuild adapter.
@fluentic/style/babelBabel plugin.
@fluentic/style/compilerLow-level compiler API.
@fluentic/style/precompileLow-level precompiled helpers.
@fluentic/style/configRuntime/config helpers.

Prefer the root import for app and component code. Use subpaths for tooling and build configuration.