imrishabh18/test-project-from-cli
This circuit consists of a 1kΩ 0402 surface-mount resistor placed on a 20mm by 20mm circuit board.
Usage: To use this component in a tscircuit project: 1. Import the component: ```tsx import { SomeComponent } from "@tsci/AUTHOR.PACKAGE_NAME" ``` 2. Use the component in a `<board>` with optional props: ```tsx <SomeComponent name="U1" /> ``` You can also use the component's pins with `sel` for tracing connections: ```tsx <trace from={sel.U1.VCC} to="net.VCC" /> ``` The component supports standard tscircuit layout props and provides predefined pin labels.
- Version
- 1.0.2
- License
- unset
- Stars
- 0
dist/schematic.svg
PCB
Schematic
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600" style="background-color: rgb(245, 241, 237)" data-real-to-screen-transform="matrix(431.9932159785,0,0,-431.9932159785,-695.9796479356,300)" data-software-used-string="@tscircuit/core@0.0.941"><style>
.boundary { fill: rgb(245, 241, 237); }
.schematic-boundary { fill: none; stroke: #fff; }
.component { fill: none; stroke: rgb(132, 0, 0); }
.chip { fill: rgb(255, 255, 194); stroke: rgb(132, 0, 0); }
.component-pin { fill: none; stroke: rgb(132, 0, 0); }
/* Basic per-trace hover fallback */
.trace:hover {
filter: invert(1);
}
.trace:hover .trace-crossing-outline {
opacity: 0;
}
.trace:hover .trace-junction {
filter: invert(1);
}
/* Net-hover highlighting: when a trace or its overlays are hovered,
invert color for all traces (base + overlays) sharing the same
subcircuit connectivity key. Also hide crossing outline during hover. */
.text { font-family: sans-serif; fill: rgb(0, 150, 0); }
.pin-number { fill: rgb(169, 0, 0); }
.port-label { fill: rgb(0, 100, 100); }
.component-name { fill: rgb(0, 100, 100); }
</style><rect class="boundary" x="0" y="0" width="1200" height="600"/><g data-circuit-json-type="schematic_component" data-schematic-component-id="schematic_component_0"><rect class="component-overlay" x="362.4037312117252" y="243.84088192279506" width="475.1925375763498" height="116.63816831419496" fill="transparent"/><path d="M 362.4037312117252 300 L 483.36183168570517 300" stroke="rgb(132, 0, 0)" fill="none" stroke-width="8.63986431957px" stroke-linecap="round"/><path d="M 712.3182361543101 300 L 837.596268788075 300" stroke="rgb(132, 0, 0)" fill="none" stroke-width="8.63986431957px" stroke-linecap="round"/><path d="M 599.9999999999002 243.84088192279506 L 712.3182361543101 243.84088192279506 L 712.3182361543101 360.47905023699 L 483.36183168570517 360.47905023699 L 483.36183168570517 243.84088192279506 L 599.9999999999002 243.84088192279506" stroke="rgb(132, 0, 0)" fill="none" stroke-width="8.63986431957px" stroke-linecap="round"/><text x="591.3601356803301" y="222.50350622895294" stroke="rgb(245, 241, 237)" stroke-width="8.63986431957px" paint-order="stroke" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="auto" font-size="77.75877887613px">R1</text><text x="591.3601356803301" y="390.4562902504021" fill="rgb(15, 15, 15)" font-family="sans-serif" text-anchor="middle" dominant-baseline="hanging" font-size="77.75877887613px">1kΩ</text><circle cx="362.4037312117252" cy="300" r="8.63986431957px" stroke-width="8.63986431957px" fill="none" stroke="rgb(132, 0, 0)"/><circle cx="837.596268788075" cy="300" r="8.63986431957px" stroke-width="8.63986431957px" fill="none" stroke="rgb(132, 0, 0)"/></g><g class="schematic-port-hover" data-schematic-port-id="source_port_0"><circle cx="362.403731211725" cy="300" r="17.27972863914" fill="red" opacity="0"/></g><g class="schematic-port-hover" data-schematic-port-id="source_port_1"><circle cx="837.5962687880749" cy="300" r="17.27972863914" fill="red" opacity="0"/></g></svg>