內容簡介
Mudrava Icon Field for ACF with Lucide 是一款為 Advanced Custom Fields (ACF) 增加新欄位類型的外掛,讓使用者可以透過直觀的視覺選擇器從 Lucide 圖示庫中選擇圖示,並將選擇的圖示名稱儲存於資料庫中,輕量且靈活於前端呈現。
【主要功能】
• 視覺圖示選擇器 - 瀏覽並選擇 1,500+ Lucide 圖示
• 智能搜尋 - 即時依名稱或標籤篩選圖示
• 高效能 - 本地精靈檔案,分頁顯示(每頁 100 個圖示)
• 原生 ACF 外觀 - 無縫整合 ACF 設計語言
• 響應式 - 適用於所有螢幕尺寸
• 無外部請求 - 所有圖示資料儲存在本地
外掛標籤
開發者團隊
② 後台搜尋「Mudrava Icon Field for ACF with Lucide」→ 直接安裝(推薦)
原文外掛簡介
Mudrava Icon Field for ACF with Lucide adds a new field type to Advanced Custom Fields (ACF) that allows users to select icons from the Lucide icon library through an intuitive visual picker. The selected icon name is stored in the database, making it lightweight and flexible for frontend rendering.
Requirements: This plugin requires Advanced Custom Fields (ACF) Pro version 6.0 or higher to function.
Features
Visual Icon Picker – Browse and select from 1,500+ Lucide icons
Smart Search – Filter icons by name or tags instantly
Performant – Local sprite file, paginated grid (100 icons per page)
Native ACF Look – Seamlessly integrates with ACF’s design language
Responsive – Works on all screen sizes
Accessible – Keyboard navigation support
Flexible Output – Return icon name or full SVG markup
No External Requests – All icon data is stored locally
Usage
After installing both ACF Pro and this plugin:
Go to Custom Fields > Add New
Add a new field and select Lucide Icon as the field type
Configure the field settings (default value, return format, etc.)
Save your field group
Template Examples
Get Icon Name:
Get SVG Markup (with return_format = ‘svg’):
...
?>
Using the Helper Function:
'my-custom-class',
'width' => 32,
'height' => 32,
'stroke' => '#ff0000',
]);
?>
About Lucide Icons
Lucide is a modern, open-source icon library with 1,500+ carefully crafted icons. All icons are licensed under ISC, making them free to use in commercial and personal projects.
Privacy
Data Collection:
This plugin does not collect, store, or transmit any user data or personal information.
External Requests:
This plugin does not make any external HTTP requests. All icon data is stored locally and served from your WordPress installation.
Cookies:
This plugin does not use cookies.
Third-Party Services:
This plugin does not integrate with or send data to any third-party services.
