So I have a page like so:
<div class="dashboard">
<div class="dashboard-item">
<div class="dashboard-item__header">
<span class="dashboard-item__header__icon dashboard-item__header__icon--modifier"></span>Header Title
</div>
<div class="dashboard-item__content">
<p class="???"></p>
</div>
</div>
</div>
I have a dashboard that is my container and it can have different items. An item then has a header and some content, but that item will always be in the dashboard. So, should I really name it dashboard__item ?
Also, what about the nested elements like the header and content? Should they use the name dashboard__item__header?
I've read that we should not have nested names like that, but that header should not exist on its own, nor the dashboard item.
So how should I name a case like that?
And in the content, if I have some elements that should look different because they're inside a dashboard item?