Skip to content

feat(icons): added half-arrow-left-right icon#4277

Open
peterthoeny wants to merge 2 commits intolucide-icons:mainfrom
peterthoeny:studio/half-arrow-left-right
Open

feat(icons): added half-arrow-left-right icon#4277
peterthoeny wants to merge 2 commits intolucide-icons:mainfrom
peterthoeny:studio/half-arrow-left-right

Conversation

@peterthoeny
Copy link
Copy Markdown

What is the purpose of this pull request?

  • New Icon

Description

Added new half-arrow-left-right icon.

Icon use case

  • switch between two states
  • cycle between modes of operation
  • go left or right

Alternative icon designs

Icon Design Checklist

Concept

  • I have provided valid use cases for each icon.
  • I have not added any a brand or logo icon.
  • I have not used any hate symbols.
  • I have not included any religious or political imagery.

Author, credits & license

  • The icons are solely my own creation.
  • The icons were originally created in # by @
  • I've based them on the following Lucide icons:
  • I've based them on the following design:

Naming

  • I've read and followed the naming conventions
  • I've named icons by what they are rather than their use case.
  • I've provided meta JSON files in icons/[iconName].json.

Design

  • I've read and followed the icon design guidelines
  • I've made sure that the icons look sharp on low DPI displays.
  • I've made sure that the icons look consistent with the icon set in size, optical volume and density.
  • I've made sure that the icons are visually centered.
  • I've correctly optimized all icons to three points of precision.

Before Submitting

@github-actions github-actions bot added 🎨 icon About new icons 🫧 metadata Improved metadata labels Apr 7, 2026
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 ChatGPT Tags suggestions ✨

I've asked ChatGPT for some suggestions for tags.

"contributors": [
"peterthoeny"
],
"tags": [
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestions for the half-arrow-left-right icon.
Try asking it your self if you want more suggestions. Open ChatGPT
Here are the suggestions:

Suggested change
"tags": [
"tags": [
"arrow",
"direction",
"left",
"right",
"navigation",
"symbol",
"indicator",
"gesture",

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

Added or changed icons

half-arrow-left-right

Preview cohesion bot-message-square
half-arrow-left-right
bookmark-x
Preview stroke widths half-arrow-left-right
half-arrow-left-right
half-arrow-left-right
DPI Preview

16px (shadcn/ui)

half-arrow-left-right

24px (default)

half-arrow-left-right

32px (shadcn/ui + retina)

half-arrow-left-right

48px (default + retina)

half-arrow-left-right
Icon X-rays half-arrow-left-right
Icon Diffs half-arrow-left-right
Icon Symmetry

Flip Horizontal

half-arrow-left-right

Flip Vertical

half-arrow-left-right

Flip Diagonal

half-arrow-left-right

Rotate 180°

half-arrow-left-right
Icons as code

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

const HalfArrowLeftRightIcon = createLucideIcon('HalfArrowLeftRight', [
  ["path",{"d":"M15 17.5 L21.5 14"}],
  ["path",{"d":"M2.5 10 L21.5 10"}],
  ["path",{"d":"M2.5 10 L9 6.5"}],
  ["path",{"d":"M2.5 14 L21.5 14"}]
])

@karsa-mistmere
Copy link
Copy Markdown
Member

Hey @peterthoeny,

Pixel perfection could be much better on this, since it's just straight lines, I see no reason not to snap them to the pixel grid, e.g.:

icons
Open lucide studio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎨 icon About new icons 🫧 metadata Improved metadata

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants