Skip to content

Package Entry Points

Import from the public entry points below. Never import files from dist directly. The Quickstart covers installation, and Layouts documents the page components.

Entry point Description
@n3wth/ui Root adapters, hooks (useTheme), tokens, cn, provider, theme, and OGCard
@n3wth/ui/site Site components, N3wthProvider, n3wthTheme, ReadingOutline, useRouteScrollReset
@n3wth/ui/primitives Core Astryx exports, plus ToastViewport and ToastViewportProps
@n3wth/ui/og OGCard and OGCardProps for Open Graph image generation
@n3wth/ui/visuals VisualBand, AssembleField, ForkLight, ConvergeLight; props types for the first two

JavaScript entries provide ESM imports and type declarations.

Entry point Description
@n3wth/ui/site.css Shared generated foundation and visual styles
@n3wth/ui/tailwind-theme.css Tailwind token bridge
@n3wth/ui/styles Compatibility styles with the shared foundation
@n3wth/ui/theme Retained theme CSS export
Entry point Type Description
@n3wth/ui/fonts/* Static Font paths; only the manifest’s selected families ship in npm
@n3wth/ui/tailwind CommonJS Tailwind preset