---
title: "CSS with classes!"
description: "A handy macro to handle classes"
comment: "Keep this file as short and simple as possible. Its purpose is to ease in the reader into components in Yew instead of providing proper API docs"
---
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
> Yew mostly operates on the idea of keeping everything that a reusable piece of
> UI may need, in one place - rust files. But also seeks to stay close to the
> original look of the technology.
Yew does not provide css in rs solutions natively, but helps with css by providing
programmatic ways to interact with css classes.
## Classes
The struct `Classes` simplifies use of HTML classes: