> For the complete documentation index, see [llms.txt](https://playermaker.gitbook.io/componentbuilder/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://playermaker.gitbook.io/componentbuilder/english/css-class/booleancssclass-attribute.md).

# BooleanCssClass Attribute

The attribute available for `bool` type of parameter

```csharp
[Parameter][BooleanCssClass("trueCss", "falseCss")]public bool? Active { get; set; }
```

```cshtml
<Component />
<div></div>

<Component Active />
<div class="trueCss"></div>

<Component Active="false" />
<div class="falseCss"></div>
```
