Browser
An embedded web page. Click to place or drag to size; type a URL in the pill above the frame. Phone, tablet, and desktop viewport presets float above the right edge.
npx tldraw-mods add browser
Or with the shadcn CLI: npx shadcn@latest add btn0s/tldraw-mods/browser
After install
Installed to src/mods/. Run npm run apply to load it into the open document. Sites that send X-Frame-Options or CSP frame-ancestors will not embed.
Files
~/src/mods/browser.tsx
npm dependencies
lucide-react
Registry dependencies
btn0s/tldraw-mods/tool-chrome