Card to control Xiaomi Fans

I recently added my Xiaomi smart fan to my Home Assistant installation and noticed that the basic card for fan control is … well very basic. I found a couple of better looking ones but none where I really love the design.
Instead I took a card that I really liked (this one for the Roborock control) and changed it to control the fan. Finally an excuse to creating my first own card. Here is the result.
image

I still need to update the text and add translations but I like the general design.

If someone is looking for a similar card here is the Github page with installation and usage instructions.