lucide icon indicating copy to clipboard operation
lucide copied to clipboard

Docs are using old icon naming scheme

Open Vanuan opened this issue 1 month ago • 3 comments

Browser

  • [ ] Chrome/Chromium
  • [ ] Firefox
  • [ ] Safari
  • [ ] Edge
  • [ ] iOS Safari
  • [ ] Opera
  • [ ] Other/not relevant

Operating system

  • [ ] Windows
  • [ ] Linux
  • [ ] macOS
  • [ ] ChromeOS
  • [ ] iOS
  • [ ] Android
  • [ ] Other/not relevant

Description

When I import triangle-alert for example, it appears this icon doesn't exist. I figured it out eventually that docs aren't up to date and I should use alert-triangle instead. But it was confusing

Steps to reproduce

  1. Open icon https://lucide.dev/icons/triangle-alert
  2. Click copy JSX
  3. Paste to my app
  4. TriangleAlert is not exported

Checklist

  • [X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)

Vanuan avatar Dec 26 '24 22:12 Vanuan