How to create a widget on Xiaomi: from simple icons to custom solutions

Xiaomi’s widgets aren’t just desktop decoration, they’re powerful tools for quick access to information, which can track the weather, manage a smart home, control battery power, or even run your favorite playlists β€” all without opening apps. But many users still don’t know how to create a widget on Xiaomi or are limited to standard MIUI solutions.

In this article, we will discuss all the ways to add widgets, from basic (through the Long Click menu β†’ Widgets) to advanced (using KWGT or UCCW for customization). Particular attention will be paid to the hidden features of MIUI 14/15, which allow you to place widgets even on the lock screen or in the notification bar. And for owners of devices with Always-On Display (for example, Xiaomi 13 Ultra or Redmi K60 Pro), we will give instructions for setting dynamic widgets that are updated in real time.

Whether you’re a beginner or a seasoned user, there’s something new here, from step-by-step screenshots to bug-debunking (like why the widget doesn’t update or disappears after a reboot) to starting with the simplest, standard MIUI widgets, and then moving on to creativity!

1. Standard MIUI widgets: how to add in 30 seconds

Basic widgets are already built into the MIUI shell and do not require additional applications to be installed, and can be placed on the home screen, in the notification bar (for quick access), or even on the lock screen (starting with MIUI 14).

Step 1: Unlock your smartphone and make a long tap from the empty seat of the home screen. At the bottom, you'll see a menu with three tabs: Wallpaper, Widgets and Settings. Select Widgets.

Step 2. Scroll through the list of available widgets. Here you will find:

  • πŸ“Š Weather - current temperature, forecast for 5 days (data from AccuWeather or Yandex.Pogoda, depending on the region).
  • πŸ“… Calendar – events from Google Calendar or Mi Calendar with reminder support.
  • πŸ”‹ Battery: Charge flow schedule, time to full discharge, battery temperature.
  • 🎡 Music - Playback control (works with Mi Music, Spotify, YouTube Music).
  • 🏠 Smart home β€” Quick scenarios for Mi Home devices (e.g. turning on the lights or starting a robot vacuum cleaner).

Step 3. Click on your favorite widget and hold it to drag it to the home screen.Some widgets (like Weather) support sizing resizing - pull around corners to stretch or narrow the block.

πŸ“Š Which widgets do you use most often?
Weather.
Calendar
Battery
Music.
Smart home.
I don't use it.

⚠️ Warning: On devices with MIUI 15, the widgets in the notification panel may conflict with Super Wallpaper features. If after adding the widget, the wallpaper starts twitching, turn off animation in Settings β†’ Wallpaper β†’ Dynamic Wallpaper.

2. Widgets on the lock screen: hidden MIUI features

Few people know, but starting with MIUI 12, you can put widgets on the lock screen, but with limitations, and this feature is especially useful for quickly accessing information without unlocking your phone, such as displaying the weather, calendar or music control.

Instructions:

  1. Open the Settings β†’ Lock screen.
  2. Select the lock screen widgets (on some models it is hidden - first tap on Additional).
  3. Activate the switch to show widgets.
  4. Click Add widget and select from the list (no more than 2 available at the same time).

Limitations:

  • πŸ”’ Widgets only work when unlocked by a fingerprint or PIN- code (no pattern lock or face unlock is supported).
  • πŸ“± On budget models (Redmi 10A, Poco M4 Pro) the function may not be available.
  • πŸ”„ Widgets are updated less frequently than on the home screen (e.g., weather every 30 minutes).
How to return widgets if they are missing after the update?
If after updating MIUI widgets disappeared from the lock screen, reset the screen settings: 1. Go to Settings β†’ Applications β†’ Application Management. 2. Find System settings (or Launcher), open Storage and click Clear Data. 3. Reboot the device. Warning: this will reset all launcher settings, including the location of icons!

3.Castom widgets: KWGT and UCCW for advanced users

If standard MIUI widgets seem boring, it’s time to get acquainted with KWGT Kustom Widget Maker and UCCW (Ultimate Custom Widget), which allow you to create widgets from scratch: change fonts, colors, animations, and even add interactive elements (for example, buttons to launch applications or change the volume).

Let’s look at the KWGT example:

Step 1. Install KWGT from Google Play (there is a free version with restrictions) and KLWP (if you want animated wallpaper). Also download theme packages - for example, Minimal & Elegant KWGT or Flatwings.

Step 2. Add the KWGT widget to the home screen (as a standard widget, see Section 1). Select a size (from 1Γ—1 to 4Γ—4) when you first start.

Step 3. In the KWGT editor:

  • 🎨 Click on any element (such as text) to change its color, font, or size.
  • πŸ”— Add dynamic data (e.g., time, battery charge, weather) through the Add β†’ Data menu.
  • πŸ–±οΈ Set up hot zones (tap actions) – for example, tap on the weather widget will open the AccuWeather application.

Example of code for displaying battery power (you can insert in a text block):

$bi(battlevel)% ($if(bi(charging)=1, ⚑, )$)$

Install KWGT or UCCW

Download your favorite theme package

Prepare images/icons (if necessary)

Check the screen resolution (for proper scaling)

Backup of current widgets (via Titanium Backup or manually)-->

⚠️ Warning: On some Xiaomi models (e.g., Redmi Note 11 with MIUI 13) KWGT may not display transparency correctly. To fix this, in the widget settings, disable Optimization MIUI and restart the launcher (Settings β†’ Applications β†’ Launcher β†’ Clear cache).

4.Widgets for Always-On Display (AOD): How to set up on Xiaomi 13/14

Devices with Always-On Display (e.g. Xiaomi 13 Ultra, Xiaomi 14 Pro, Redmi K60 Pro) support widgets even when the screen is off. It's not only beautiful, but also functional: you can see the time, notifications or battery status without touching the phone.

How to set up:

  1. Go to Settings β†’ Screen β†’ Always-On Display.
  2. Turn on the AOD switch (if it is switched off).
  3. Choose a style: Digital watch, Analog watch or Custom watch.
  4. To customize, tap Additional and select items: ⏰ Watch (format 12/24 hours). πŸ“… Date (long/short). πŸ”” Notifications (app icons with unread messages). πŸ”‹ Battery charge (percentage or icon).

Preview

Features of AOD on Xiaomi:

ModelSupport for AODMax. elements.Energy consumption (per hour)
Xiaomi 13 Ultraβœ… Yes (AMOLED)5 elements~0.5%
Xiaomi 14 Proβœ… Yes (LTPO AMOLED)6 elements~0.3%
Redmi K60 Proβœ… Yes (AMOLED)4-point~0.7%
Poco F5 Proβœ… Yes (AMOLED)3-element~0.8%
Redmi Note 12 Pro+❌ No (OLED without AODβ€”β€”

πŸ’‘

If Always-On Display drains your battery quickly, limit the battery life, such as setting the schedule in Settings β†’ Screen β†’ AOD β†’ Schedule, so that the screen is turned on only during business hours (8:00 to 20:00).

5. widgets in the notification panel: quick access to functions

In MIUI, you can add widgets not only to the home screen, but also to the notification bar (curtain), which is convenient for quick management of functions such as turning on a flashlight, Wi-Fi or mobile data.

Step 1. Swipe down from the top of the screen to open the notification bar. Then swipe down again to open it up completely.

Step 2. In the upper right corner, click on the βš™οΈ Settings (or Edit) icon.

Step 3. Here you'll see two sections:

  • πŸ”„ Fast settings -- switches for Wi-Fi, Bluetooth, airplane mode, etc. You can drag and drop them to change order.
  • πŸ“± Widgets are small blocks of information (weather, calendar, music). Tap on + Add widget and select from the list.

Example of useful widgets for curtains:

  • 🌑️ Weather - Temperature and short forecast.
  • 🎢 Music - playback control (pause, next song).
  • πŸ’‘ Flashlight - Quick access to on/off.
  • πŸ“Ά Mobile data β€” the 4G/5G switch and traffic monitoring.

πŸ’‘

The widgets in the notification panel work even when the phone is locked (unless privacy is set up).This is convenient, but it may not be secure - anyone can see your notifications or control music. To turn off the display on the locked screen, go to Settings β†’ Lock screen β†’ Privacy β†’ Hide notifications.

6. Problem Solving: Why Widgets Don't Work or Disappear

Sometimes widgets on Xiaomi start to glittle: they don't update, disappear after a reboot or display incorrectly. Let's take a look at the most common problems and their solutions.

Problem 1: The widget is not updated (for example, the weather shows old data).

  • πŸ”„ Reboot your phone β€” often this helps reset the widget cache.
  • πŸ“± Check the permissions for the application to which the widget belongs (for example, AccuWeather must have location access).
  • βš™οΈ In the widget settings (slip it), enable Auto Update and set a minimum interval (e.g., 15 minutes).

Problem 2: The Widget disappeared after the MIUI update.

  • πŸ—‘οΈ Clear the launcher cache: Settings β†’ Applications β†’ Launcher β†’ Clear the cache.
  • πŸ”™ Restore the widget manually (see Section 1).
  • πŸ“₯ If the widget was custom (KWGT), check the theme's compatibility with the new version MIUI.

Problem 3: The widget is not fully displayed or cropped.

  • πŸ“ Try resizing the widget (pull around the corners).
  • πŸ–ΌοΈ If the widget is custom, check the screen resolution in the settings KWGT (should match your Xiaomi resolution).
  • πŸ”„ Switch to another launcher (like Nova Launcher) if the problem persists.

⚠️ Warning: On devices with MIUI Global Stable, widgets are sometimes blocked due to regional restrictions. For example, the Smart Home widget may not work if your Mi Account is tied to a region where this feature is not officially supported. Solution: change the region in your Mi Account to India or Russia (depending on the model).

7. Top-5 useful widgets for Xiaomi (worth a try)

In addition to standard MIUI widgets, Google Play has many useful solutions that will simplify the everyday use of a smartphone.

1. Another Widget is a minimalist widget for weather, calendar and system information, and supports dark theme and transparency settings.

2. Chronus is a universal widget with clocks, weather, calendars, even news feeds. Perfect for the home screen.

3. Battery Widget Reborn β€” detailed battery statistics: temperature, voltage, time to full discharge, useful for monitoring battery health.

4.Musei Live Wallpaper – Not exactly a widget, but it allows you to create dynamic wallpapers that are updated daily (for example, photos from NASA or art paintings).

5. Tasker + AutoNotification is for advanced users, allows you to create interactive widgets with triggers, for example, a widget that includes Do Not Disturb on a Schedule or runs a smart home script with tapa.

Example of setting up a Tasker widget:

Profile: "Wi-Fi Widget"


Event: Tap on the widget (AutoNotification)




Action:




1. If Wi-Fi is off β†’ Turn on Wi-Fi




2. If Wi-Fi is on β†’ Turn off Wi-Fi

FAQ: Frequent questions about widgets on Xiaomi

Can I add a widget to the lock screen on the Redmi Note 10 Pro?
No, on the Redmi Note 10 Pro (and other AMOLED devices but without AOD support), widgets on the lock screen are not available. This feature only works on flagships (Xiaomi 12/13/14, Redmi K50/K60 Pro) with official support for Always-On Display.
Why isn't the weather widget showing my city?
The problem is location settings: Open the weather widget and tap the current city. Manually enter your city or enable Autodetermination. Check the permissions for the weather application (Settings β†’ Apps β†’ Weather β†’ Permissions β†’ Location). If you use AccuWeather, try changing the data source to Yandex.Pogoda in the widget settings.
How to make a widget transparent?
Standard MIUI widgets don't support transparency, but you can use workarounds: For custom widgets (KWGT), set an Alpha channel (transparency) for the background in the editor. In Nova Launcher, turn on the Transparent Notification Bar (Settings β†’ Appearance). Use dark theme widgets - they merge visually with the background.
Can I transfer widgets when changing the launcher?
No, widgets are tied to a specific launcher, and if you change them (for example, from MIUI Launcher to Nova Launcher), you will have to add them again, but custom widget settings (KWGT) will remain if you backup the application itself.
How to remove advertising in MIUI widgets?
There are no ads in standard MIUI widgets, but they can appear in the recommendations on the home screen (for example, in the Mi Browser or Mi Video widget). To disable: Go to Settings β†’ Home Screen. Turn off Recommendations and Show Ads. To completely remove the ads, install the MIUI Optimizer patch (root rights required).