A plugin for strapi to select react icons.
Overview:
The Strapi plugin react-icons is a plugin designed for use with the Strapi CMS platform. It allows users to select and display react icons within their Strapi applications. This plugin provides convenient and efficient access to a wide variety of react icons.
Features:
- Custom Field for react-icons: Users can add a custom field for react-icons in their content types.
- Selection Modal for the Custom Field: The plugin includes a selection modal that allows users to choose icons for their custom fields.
- Settings Page for Enabling/Disabling Icon Libraries: Users have the option to enable or disable specific icon libraries from the settings page.
- Default Selection for Icon Library: This feature is currently planned but not yet implemented. It will allow users to set a default icon library for their applications.
- Search in the Selection Modal: This feature is also planned but not yet implemented. It will enable users to search for specific icons within the selection modal.
Installation:
To install the Strapi plugin react-icons, follow these steps:
- Add the NPM dependency to your Strapi application.
- Build your admin panel.
- Add “react-icons”: true to your Strapi plugins config file.
- If you do not have this file, create it.
- Select your preferred icon libraries on the settings page.
- Add react-icons as a custom field to your content type.
- Press the search icon to select an icon from any of the selected icon libraries.
- Create the necessary IconComponent to dynamically show the icon.
Summary:
The Strapi plugin react-icons enhances the Strapi CMS platform by allowing users to easily incorporate react icons into their applications. With features such as custom fields, selection modals, and the ability to enable/disable icon libraries, this plugin provides a seamless and efficient way to manage and display react icons. While some planned features are yet to be implemented, this plugin already offers a valuable set of capabilities for users looking to enhance the visual appeal and functionality of their Strapi applications.