Available Packages
Web Stories for WordPress publishes 25+ packages to npm. The core packages documented here are the most commonly used for building Web Stories applications.Documented Packages
@googleforcreators/story-editor
The core Web Stories editor application
@googleforcreators/design-system
UI components for editor and dashboard
@googleforcreators/animation
Animation library for Web Stories
@googleforcreators/elements
Element type registration and management
Additional Packages
The following packages are also available on npm: Editor & Dashboard:@googleforcreators/dashboard- Dashboard application@googleforcreators/element-library- Pre-built element library@googleforcreators/templates- Template management@googleforcreators/text-sets- Pre-designed text sets
@googleforcreators/media- Media utilities@googleforcreators/fonts- Font management@googleforcreators/masks- Shape masks library@googleforcreators/stickers- Sticker assets
@googleforcreators/output- Story output rendering@googleforcreators/moveable- Element movement and resizing@googleforcreators/transform- Element transformations
@googleforcreators/date- Date utilities@googleforcreators/dom- DOM utilities@googleforcreators/i18n- Internationalization@googleforcreators/migration- Data migration@googleforcreators/patterns- Design patterns@googleforcreators/react- React utilities@googleforcreators/rich-text- Rich text editing@googleforcreators/tracking- Analytics tracking@googleforcreators/units- Unit conversion@googleforcreators/url- URL utilities
Installation
All packages are available on npm and can be installed using your preferred package manager:Requirements
All packages require:- Node.js: >= 20, 22, or 24
- npm: >= 7.3
- React: 17.x (peer dependency)
- styled-components: 5.x (peer dependency)
Package Structure
Each package follows a consistent structure:dist/- CommonJS builddist-module/- ES Module builddist-types/- TypeScript type definitionssrc/- Source code
TypeScript Support
All packages include TypeScript type definitions in thedist-types/ directory. Import types from the package:
License
All packages are licensed under Apache-2.0.Repository
Source code: github.com/GoogleForCreators/web-stories-wpNext Steps
Story Editor
Learn how to integrate the story editor
Design System
Explore UI components