You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the new york style was recently updated to use lucide icons, but DropDownMenu is trying to use radix icons when installed with cli.
I changed import { CheckIcon, ChevronRightIcon, DotFilledIcon } from "@radix-ui/react-icons"
to import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react"
and changed the single usage of DotFilledIcon to CircleIcon.
Affected component/components
Dropdown Menu
How to reproduce
init shadcn using new york style
npx shadcn@latest add dropdown-menu
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Windows 11
Powershell 7
Before submitting
I've made research efforts and searched the documentation
I've searched for existing issues
The text was updated successfully, but these errors were encountered:
Describe the bug
It looks like the new york style was recently updated to use lucide icons, but DropDownMenu is trying to use radix icons when installed with cli.
I changed
import { CheckIcon, ChevronRightIcon, DotFilledIcon } from "@radix-ui/react-icons"
to
import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react"
and changed the single usage of
DotFilledIcon
toCircleIcon
.Affected component/components
Dropdown Menu
How to reproduce
npx shadcn@latest add dropdown-menu
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: