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.
Modules
Section titled “Modules”| 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.
Stylesheets
Section titled “Stylesheets”| 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 |
Fonts and Tailwind
Section titled “Fonts and Tailwind”| 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 |
Related
Section titled “Related”Theme ProviderMount N3wthProvider and load the Newth theme CSS.
Tailwind IntegrationWire the token bridge into a Tailwind v4 stylesheet.