diff --git a/docs/elements/chip.mdx b/docs/elements/chip.mdx index 2d8ee74..c174bc6 100644 --- a/docs/elements/chip.mdx +++ b/docs/elements/chip.mdx @@ -284,6 +284,93 @@ export default () => ( For more information about custom footprints, check out the [ element](./footprint.mdx) +### `obstructsWithinBounds` + +By default, `` components occupy all of the PCB area inside their +footprint's bounding box, which prevents other components from being placed +inside that region. Set `obstructsWithinBounds={false}` to indicate that the +component leaves usable room within its outline (for example, when you are +representing a tall module that allows other chips to sit underneath). + +The example below manually constructs a footprint for a module-style chip and +places a second chip inside its body. Because the outer chip has +`obstructsWithinBounds={false}`, the inner chip—whose own +`obstructsWithinBounds` prop remains `true`—can safely occupy the same PCB +area. + + ( + + + + + + + + + } + /> + + +) +`} +/> + ### Internally Connected Pins Some chips, such as a standard 4 pin pushbutton, have pins that are internally