Skip to main content


A modern and customizable python UI-library based on Tkinter

CustomTkinter complex UI example on macOS dark mode

CustomTkinter is a python desktop UI-library based on Tkinter, which provides modern looking and fully customizable widgets. With CustomTkinter you'll get a consistent look across all desktop platforms (Windows, macOS, Linux).

import customtkinter

def button_callback():
print("button clicked")

app = customtkinter.CTk()

button = customtkinter.CTkButton(app, text="my button", command=button_callback)
button.pack(padx=20, pady=20)


With just a few lines of code, you already get a fully working program:

CustomTkinter simple button example