@drawnagency/primitives
v0.1.116
Published
Browser-safe foundation of the Brand Portal framework: Zod schemas, section components, editor shell, hooks, pure libs, collab contract, document engine.
Downloads
980
Readme
@drawnagency/primitives
Schemas, components, utilities, and auth interfaces for the Drawn brand portal framework.
Installation
npm install @drawnagency/primitivesWhat's included
- Schemas — Zod schemas for sections, site config, media, and audiences
- Components — React components for section rendering, navigation, and editor UI
- Auth —
AuthProviderinterface and session management utilities - Media — Client-side image/video processing pipeline
Usage
import { IndexSchema, SiteConfigSchema } from "@drawnagency/primitives/schemas";
import { generateNavLinks } from "@drawnagency/primitives/lib";
import type { AuthProvider } from "@drawnagency/primitives/auth";Part of the Drawn Portal Framework
Built by Drawn Agency. See @drawnagency/core for the full framework.
