Skip to main content
Subframe Docs home page
Search...
⌘K
Ask AI
Log in
Log in
Search...
Navigation
Guides
Publishing to NPM
Developer docs
Learn Subframe
Go to Subframe
Slack Community
YouTube
Overview
Installation
Core concepts
Design to code workflow
Code generation
Syncing components
Exporting pages
Guides
MCP server
Dark mode
Component docs
Accessibility
Testing
Publishing to NPM
Troubleshooting
Next.js
Vite
Astro
Monorepo
Other (manual)
Guides
Publishing to NPM
Distribute components as a package.
For teams that want to distribute components as a package, set up a separate repository:
Create a new repo for your component library
Follow the
installation instructions
to initialize the project in that repo
Sync components to this repo
Publish to NPM with your standard workflow
Your apps can then install that package instead of syncing directly. If you need help with this, please join our
Slack community
for additional support.
Was this page helpful?
Yes
No
Suggest edits
Raise issue
Testing
Next.js
⌘I