---
title: "Discussion on \"Styling using data attributes\" | Hashnode"
description: "Discussion on \"Styling using data attributes\". The vast majority of design systems and component libraries organize their styles using class selectors. Generally, this is a good choice, but it's not perfect. Methodologies like BEM are used as a way to organize these classes into component and mod..."
url: "https://hashnode.com/posts/styling-using-data-attributes/63e40682a2542e853af2da17"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Styling using data attributes](https://webdev.tips/styling-using-data-attributes?utm_source=hashnode&utm_medium=feed)

The vast majority of design systems and component libraries organize their styles using class selectors. Generally, this is a good choice, but it's not perfect. Methodologies like BEM are used as a way to organize these classes into component and mod...

Feb 8, 2023 · 3 min read · webdev.tips  
Updated Feb 10, 2023  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#design-systems](https://hashnode.com/tag/design-systems)
-   [#design-system](https://hashnode.com/tag/design-system)

## Written by

[Joel Saupe](https://hashnode.com/@joelsaupe)

@joelsaupe

  
[View profile](https://hashnode.com/@joelsaupe)

Software engineer

Software engineer with 10 years of experience working on frontend applications and tooling to make frontend development easier.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
