icon icon indicating copy to clipboard operation
icon copied to clipboard

[feature request]: skipCustomize prop

Open RBV1 opened this issue 11 months ago • 0 comments

Hi there, I think it would be useful to have a prop to skip the global customization function. For example, I want to remove all styles (stroke, gradients, etc.) from all icons globally, but in one specific case, I want to use the original icon. Currently, I need to create a duplicate of the icon, add a new prefix, and then filter this icon in the global customization function.

Example:

// Apply the global customization function
<Icon
    name="i-base-beautiful-icon"
/>
// Render the original icon (skip the global customization function)
<Icon
    name="i-base-beautiful-icon"
    skip-customize
/>

RBV1 avatar Jan 06 '25 12:01 RBV1