# HtmlElement.ClassList

Kind: Property  
Namespace: `TinyComponents`  
Assembly: `TinyComponents.dll`  
Source: https://docs.sisk-framework.org/api/TinyComponents.HtmlElement.ClassList.html

## ClassList {#TinyComponents_HtmlElement_ClassList}

Gets or sets the list of CSS classes for the HTML element. Initializes with an empty list.
Use this to apply CSS class names to the element.

```csharp
public ICollection<string> ClassList { get; set; }
```

### Property Value

[ICollection](https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection\-1)<[string](https://learn.microsoft.com/dotnet/api/system.string)\>
