Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions docs/guides/importing-modules-and-chips/importing-from-kicad.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,23 @@ circuit.add(
bun add kicad-component-converter
```

#### Import `.kicad_mod` files directly
#### Import `.kicad_mod` and `.kicad_sym` files directly

`kicad-component-converter` registers a bundler loader that lets you import KiCad
footprints like any other module inside your tscircuit project:
footprints and symbols like any other modules inside your tscircuit project:

```tsx
import kicadSym from "./symbol.kicad_sym"
import kicadMod from "./footprint.kicad_mod"

export default () => {
return (
<board>
<chip footprint={kicadMod} name="U1" />
<chip
name="U1"
footprint={kicadMod}
symbol={kicadSym}
/>
</board>
)
}
Expand Down
Loading