# Bonnie Kate Wolf Q&A: Naming icons

## Метаданные

- **Канал:** UI Prep
- **YouTube:** https://www.youtube.com/watch?v=bsqMVWfgS3g
- **Источник:** https://ekstraktznaniy.ru/video/43356

## Транскрипт

### Segment 1 (00:00 - 03:00) []

um typically when I'm naming things I like to use the most literal name possible so um a plus sign icon I call plus I don't call it add because add is only one way that it might be used um and plus is a kind of simpler name um same with like lightning uh in Netflix in the Netflix Library we had two different lightning icons because one was called automated and one was called effect and so yes that's what they were being used for but that is how we ended up with duplicates of the same concept but they weren't actually even executed the same they were two different looking Lightnings so we renamed them both to lightning and then we have like lightning Auto lightning um warning lightning it's just lightning Dash whatever the modifier was um so the simplest name is often the better answer rather than the function of the icon there are of course exceptions to that like play you do not want to name that right triangle that is super weird or like in our case stop should be stopped because it's used in media player controls more than anything else and Netflix is a media company um so with those you or like next chapter or skip those have to be named based on what they do because they don't ever represent anything else um but for things that are like that weird in between State like a lot of location icons do you call it map pinned do you call it location figure out the simplest name or look at what other libraries are calling them uh for instance the Netflix Engineers wanted me to rename something to make it map better to SF symbols because that also made it easier for their Engineers to know what it was going to look like because they're familiar with code that references other Apple stuff I think uh that kind of got beyond my knowledge but I just said okay that's like I'm not going to be annoyed by that that's cool um so the simplest name the better if you really need to name something based on what it does make sure it's never ever going to be used for anything else which is very hard to predict and sometimes I'll name things I will make them a little more complicated if I want to make my life easier in the future so like uh we have icons and I've done this in other libraries too not just Netflix but like um weather Dash snow weather Dash rain weather Dash Sun so that all the weather icons get grouped together um rather than just the rain snow sun it's a little bit easier than to be for people to know oh these are all weather icons sometimes that makes it a tiny bit easier also than someone searches weather they all come up kind of as a group with the name in the front of it so they know these are for weather um so there's a couple of other things I think like I named things building Dash Market building Dash facility to be a little clearer um but typically you don't want to put all your metadata in the icon name that makes a lot of sense I've done the same thing with um like formatting icons for like a text editor it's like bold italic strike will all be kind of like grouped together in like a little folder of just formatting yeah so you could be like text italic text old if those maybe then I'll get put into a formatting category not all of them are text related I like what Rick said in the chat as well a Chevron pointing left isn't always back that is extremely accurate but a play button is always play it's never it's always like it yeah
