{"id":30583991,"url":"https://github.com/alan-crts/shadcn-iconpicker","last_synced_at":"2025-08-29T09:02:53.107Z","repository":{"id":277963968,"uuid":"934066500","full_name":"alan-crts/shadcn-iconpicker","owner":"alan-crts","description":"A searchable icon picker component built with NextJS, Lucide-react, TailwindCSS and shadcn/ui. Features infinite scroll, tooltips, and customizable trigger button.","archived":false,"fork":false,"pushed_at":"2025-05-20T07:21:18.000Z","size":4077,"stargazers_count":34,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-20T08:28:33.327Z","etag":null,"topics":["fusejs","iconpicker","icons","lucid","lucide-react","nextjs","radix-ui","reactjs","shadcn","shadcn-ui","tailwindcss"],"latest_commit_sha":null,"homepage":"https://icon-picker.alan-courtois.fr/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alan-crts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-17T08:09:51.000Z","updated_at":"2025-05-20T07:21:22.000Z","dependencies_parsed_at":"2025-02-17T09:23:46.511Z","dependency_job_id":"0cbdf6e9-6c92-430c-82b8-227ead37ed29","html_url":"https://github.com/alan-crts/shadcn-iconpicker","commit_stats":null,"previous_names":["alan-crts/shadcn-iconpicker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alan-crts/shadcn-iconpicker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alan-crts%2Fshadcn-iconpicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alan-crts%2Fshadcn-iconpicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alan-crts%2Fshadcn-iconpicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alan-crts%2Fshadcn-iconpicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alan-crts","download_url":"https://codeload.github.com/alan-crts/shadcn-iconpicker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alan-crts%2Fshadcn-iconpicker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272658762,"owners_count":24971604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fusejs","iconpicker","icons","lucid","lucide-react","nextjs","radix-ui","reactjs","shadcn","shadcn-ui","tailwindcss"],"created_at":"2025-08-29T09:02:51.771Z","updated_at":"2025-08-29T09:02:53.095Z","avatar_url":"https://github.com/alan-crts.png","language":"TypeScript","funding_links":[],"categories":["Components \u0026 Libraries"],"sub_categories":[],"readme":"# Shadcn Icon Picker\n\nA sleek and customizable icon picker component for React, built with shadcn/ui and Lucide Icons.\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/alan-crts/shadcn-iconpicker/refs/heads/main/public/preview.gif\" width=\"600\" /\u003e\n\u003c/div\u003e\n\n## Features\n\n- 🎨 Modern and responsive UI\n- 🔍 Real-time icon search\n- ⚡️ Progressive icon loading\n- 🎯 Full Lucide icons support\n- 🌗 Dark mode compatible\n- 🎛️ Highly customizable\n\n## Installation\n\n### Using npm\n```shell\nnpx shadcn@latest add \"https://icon-picker.alan-courtois.fr/r/icon-picker\"\n```\n\n### Using pnpm\n```shell\npnpm dlx shadcn@latest add \"https://icon-picker.alan-courtois.fr/r/icon-picker\"\n```\n\n### Using Yarn\n```shell\nnpx shadcn@latest add \"https://icon-picker.alan-courtois.fr/r/icon-picker\"\n```\n\n### Using Bun\n```shell\nbunx shadcn@latest add \"https://icon-picker.alan-courtois.fr/r/icon-picker\"\n```\n\n## Usage\n\n```tsx\nimport { IconPicker } from \"@/components/ui/iconPicker\";\n  \nexport default function Home() {\n  return \u003cIconPicker /\u003e;\n}\n```\n\n## Props\n\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n| `value` | `IconName` | - | The controlled value of the selected icon |\n| `defaultValue` | `IconName` | - | The default value of the selected icon |\n| `onValueChange` | `(value: IconName) =\u003e void` | - | Callback invoked when an icon is selected |\n| `open` | `boolean` | - | Controlled open state of the picker |\n| `defaultOpen` | `boolean` | `false` | Default open state of the picker |\n| `onOpenChange` | `(open: boolean) =\u003e void` | - | Callback invoked when the open state changes |\n| `children` | `ReactNode` | - | The trigger element to open the icon picker |\n| `searchable` | `boolean` | `true` | Whether the icon picker is searchable |\n| `searchPlaceholder` | `string` | \"Search for an icon...\" | The placeholder for the search input |\n| `triggerPlaceholder` | `string` | \"Select an icon\" | The text displayed on the default trigger button when no icon is selected |\n| `iconsList` | `IconList` | all lucide icons | The list of icons to display in the picker |\n| `categorized` | `boolean` | `true` | Display icons in categories and add categories buttons to scroll to the desired category |\n| `modal` | `boolean` | `false` | Whether the icon picker is being rendered in a modal |\n\n## Development\n\n### Clone the repository\n```shell\ngit clone https://github.com/alan-crts/shadcn-iconpicker.git\n```\n\n### Install dependencies\n```shell\nnpm install\n```\n\n### Start development server\n```shell\nnpm run dev\n```\n\n## License\n\nMIT © [Alan Courtois](https://github.com/alan-crts)\n\n## Acknowledgments\n\n- [shadcn/ui](https://ui.shadcn.com) for the UI components\n- [Lucide](https://lucide.dev) for the icons\n- [Next.js](https://nextjs.org) for the framework\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falan-crts%2Fshadcn-iconpicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falan-crts%2Fshadcn-iconpicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falan-crts%2Fshadcn-iconpicker/lists"}