lucide-icons / lucide

Beautiful & consistent icon toolkit made by the community. Open-source project and a fork of Feather Icons.
https://lucide.dev
ISC License
8.94k stars 380 forks source link

feat(icons): Add `ethernet-port` and `wired-connection` icons #2120

Open ericfennis opened 2 weeks ago

ericfennis commented 2 weeks ago

Closes #1816

What is the purpose of this pull request?

Icon use case

To indicate a network connection in a router, network switch, or similar interfaces. Can also be used as a system icon, next to the existing system icons (wifi, Bluetooth, battery and audio etc)

Alternative icon designs

See #1816

Icon Design Checklist

Concept

Author, credits & license

Naming

Design

Before Submitting

github-actions[bot] commented 2 weeks ago

Added or changed icons

icons/ethernet-port.svgicons/wired-connection.svg

Preview cohesion icons/square-mouse-pointer.svgicons/message-square-heart.svg
icons/ethernet-port.svgicons/wired-connection.svg
icons/arrow-left.svgicons/scissors.svg
Preview stroke widths icons/ethernet-port.svgicons/wired-connection.svg
icons/ethernet-port.svgicons/wired-connection.svg
icons/ethernet-port.svgicons/wired-connection.svg
DPI Preview (24px) icons/ethernet-port.svg icons/wired-connection.svg
Icon X-rays icons/ethernet-port.svg icons/wired-connection.svg
Icons as code

Works for: lucide-react, lucide-react-native, lucide-preact, lucide-vue-next

const EthernetPortIcon = createLucideIcon('EthernetPort', [
  ["path",{"d":"M20.2 4H3.8C2.8 4 2 4.7 2 5.6v9.8c0 .9.8 1.6 1.8 1.6H6l3 3h6l3-3h2.2c1 0 1.8-.7 1.8-1.6V5.6c0-.9-.8-1.6-1.8-1.6"}],
  ["path",{"d":"M6 8v1"}],
  ["path",{"d":"M10 8v1"}],
  ["path",{"d":"M14 8v1"}],
  ["path",{"d":"M18 8v1"}]
])

const WiredConnectionIcon = createLucideIcon('WiredConnection', [
  ["path",{"d":"m18 8 4 4-4 4"}],
  ["path",{"d":"m6 8-4 4 4 4"}],
  ["path",{"d":"M8 12h.01"}],
  ["path",{"d":"M12 12h.01"}],
  ["path",{"d":"M16 12h.01"}]
])

jguddas commented 2 weeks ago

What about arcifying the eathernet-port icon?

icons
Open lucide studio

karsa-mistmere commented 2 weeks ago

wired-connection feels an oddly specific name for an abstract symbol that to my best knowledge is not a standard representation of said concept, so maybe arrow-double(-headed)-horizontal-dashed or something similar would be better?

ericfennis commented 2 weeks ago

@karsa-mistmere Kinda true. It's more common than you might think. image image

Wiki: https://en.wikipedia.org/wiki/Ethernet So not sure if we should choose a generic name since it is possibly recognized as a symbol for ethernet. But I get you, I still have some doubts about the name. 🤔

jguddas commented 2 weeks ago

@karsa-mistmere Kinda true. It's more common than you might think. image image

Wiki: https://en.wikipedia.org/wiki/Ethernet So not sure if we should choose a generic name since it is possibly recognized as a symbol for ethernet. But I get you, I still have some doubts about the name. 🤔

Still feel like it is describing the use case rather than what is actually depicting.