For AI agents: the documentation index is at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
For AI agents: the documentation index is at /dnd-grid/docs/llms.txt. Append .md to any page URL, or send Accept: text/markdown, for the Markdown version of that page.
For AI agents: the documentation index is at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
Keep items within grid bounds.
By default an item can be dragged past the top or left edge of its container while a drag is in flight. Setting the bounded prop clamps movement so items stay fully inside the grid for the whole gesture, not just when the drag is released.
This matters most when the grid is the whole page surface and there is no scroll region to absorb an overshoot. Combine it with constraints when you need a stricter rule than the container edges.
npx shadcn@latest add https://blode.co/dnd-grid/r/bounded-example.jsonimport { BoundedExample } from "@/components/dnd-grid-bounded-example";
export default function Page() {
return <BoundedExample />;
}Published with Edda