# Replacing interface icons

1. Name the action first. Search, copy, close and open an external link are distinct actions. Hide a decorative icon from assistive technology when the adjacent label supplies its name. Give icon-only buttons an accessible name and a visible tooltip.
2. Match the existing family’s size, stroke and fill. Keep the target easy to tap even when the glyph is small. Check pointer and keyboard use in the actual layout.
3. Use `currentColor` where the icon should inherit its text color. Pair color with words for destructive actions, errors and success. Identify brand marks before replacing reusable interface symbols.

The playground draws text symbols. Heroicons is licensed under MIT. Lucide uses ISC and includes MIT notices for certain Feather-derived icons. Check the notices supplied with the assets you distribute.

[Icon size playground](../tools/style.en.html#icon-size) · [Heroicons license](https://github.com/tailwindlabs/heroicons/blob/master/LICENSE) · [Lucide license](https://lucide.dev/license)
