Tool chrome
Shared code for mods that are boxes you type into: click-or-drag placement, an editing mode, and small controls that float around the edges. Landmark and Browser both use it.
npx tldraw-mods add tool-chrome
Without the tldraw-mods command: npx shadcn@latest add btn0s/tldraw-mods/tool-chrome
Files it adds
src/tool-chrome.tsxsrc/lib/utils.ts
Packages it installs
cn