How it works
You have two options: paste code you already have, or describe what you want. Paste a snippet: Copy any embed code, script tag, or component from anywhere and paste it into chat with a short instruction.UI components and libraries
Bring in any component library, design system, or individual UI snippet. Copy-paste components (e.g. 21st.dev, shadcn/ui, Flowbite):3D and immersive content
Rocket can add 3D models, scenes, and interactive experiences to any page. Model viewers:Embeds
Paste an embed code from any tool and tell Rocket where to place it. Forms and surveys:Scripts and tracking
Paste a script tag into chat and Rocket places it in the correct location automatically. Analytics:Styles, fonts, and animations
Custom CSS:Targeting specific pages
Not everything should load everywhere. Tell Rocket exactly where to apply the code to keep your site fast.Where code gets placed
Rocket determines the right location based on what the code does. You can always specify a different location.| Location | When it is used | Examples |
|---|---|---|
<head> | Code that must load before the page renders | Font imports, meta tags, tracking pixels |
<body> | Visible components and embeds | Form widgets, 3D viewers, UI components |
Before </body> | Code that should load after content | Analytics scripts, chat widgets |
| Inline | Code scoped to a specific element or section | Custom styles on a button, event listeners on a form |
What is not supported
What’s next?
Connectors
Some tools have dedicated integrations that are simpler than pasting raw code.
Connect APIs
Import and integrate API endpoints directly into your app.
Compliance & privacy
Scripts you add may be subject to cookie consent rules.
Launch your site
Publish your site with all custom code included.

