How can i dim a 12v WW led with an ESP32-C3 super mini?

I have a 12v SMD2835 led strip that i want to dim trough HA with an ESP32-C3.
Is there a program for that, that i can install onto the ESP32? If so, how should i wire it? And can i power the ESP32 trough a 12v PSU?
Any help would be appreciated!

You don’t need any specific program, Esphome has components for LED dimming.
You need mosfet driver like this to dim your strip:

You might or might not be able to power your Esp board with 12V. It doesn’t depend on your Esp chip (Esp32-C3) but on the voltage regulator that your specific board has.
If any doubts, I suggest to power your Esp at 5V / USB.

How would i connect the mosfet driver to HA?

Not to HA.
To Esp32-board.

Make a Monochromatic Light connected to a ESP32 LEDC Output.

Thank you.
So i would still have to power the esp32 board separately? And what should i flash onto the esp32? Would WLED work?

I dont really understand it, could you explain how i would do that?

You post on Esphome category, so we expect you flash Esphome…
This is more less what you need for the led strip on Esphome:

# Example configuration entry
output:
  - platform: ledc
    pin: GPIOXX
    id: gpio_

# Example usage in a light
light:
  - platform: monochromatic
    output: gpio_19
    name: "Kitchen Light"

You still have to power Esp separately at 5V if you don’t have some data sheet or other documentation that specifies VIN voltage of your board.

Oh, im sorry, i tought esphome was a general addon that recognizies esp boards, sorry for the confusion. Thank you, i get it now. Have a nice day!