{"slug": "decor-brings-back-fun-html-widgets-to-the-mac", "title": "Décor brings back fun HTML widgets to the Mac", "summary": "Décor, a new macOS app released as version 0.1, restores HTML, CSS and JavaScript desktop widgets to the Mac, summoned with the F12 key or a menu bar icon. The app ships with seven included widgets — Calculator, Today, Clock, Weather, Shortcuts Board, Caffeine and Stickies — and a separate Widget Construction Kit with a template, a Simulator that auto-reloads on edit and shows bugs in a console drawer, and a command line tool the developer says is \"perfect to use with a coding agent.\" Décor runs on macOS 14 and later on Apple silicon and Intel, saves settings in the user directory for inclusion in computer backups, and does not support iCloud syncing; the non-final 0.1 release is aimed at developers who keep daily backups.", "body_md": "### Your morning view\n\nImagine some widgets to get you started for the day: your appointments, and also tomorrow's first one. The weather forecast. And, of course, the sticky notes you left for yourself.\n\nYour own creative space, hidden in plain sight.\n\nToday’s highlights from your agenda, without the overload\n\nToday's weather stats, with a 24 hour forecast.\n\nSee what’s playing on your favorite radio station\n\nAn up to date calendar of the gigs playing in town\n\nView basic radar images, updated every 10 minutes or so, from the national weather service\n\nAdd a beautiful clock for any city you choose\n\nA calculator that is always one key press away\n\nAdd a beautiful screen full of widgets to your Mac. Just press F12 and quickly glance today's calendar for your next appointment. Or take a break, and amaze yourself with some of the world's finest art, right on your desktop. And the best part: you can make your own widgets by opening up your favorite editor, or by connecting a coding agent to help you create exactly what you imagine. Add a beautiful screen full of widgets to your Mac. Just press F12 and take a glance. You can share widgets online or make some for yourself.\n\nAdd some of the included widgets, share with friends, or design one just for yourself.\n\nMake a screen full of art and culture: a painting from the Rijksmuseum, what's playing in your local music venue, or the current record that's playing on your favourite station.\n\nRun macOS Shortcuts, add a world clock, or do a quick calculation. Keep your screen awake while teaching. All the things you use regularly are now available instantly.\n\nThe decor opens over your current work and quickly disappears when you press F12 again. You can also use the menu bar icon.\n\nPlace your widgets anywhere on the screen. All neat and tidy, if you want, or a bit more chaotic. You can resize any widget, too.\n\nWhether you use mouse, keyboard, VoiceOver, touch, or a switch button, your widgets are there for you.\n\nDécor provides some compatibility with older widgets. You can try upgrading them using the Widget Construction Kit.\n\nDécor runs on macOS 14 and later, on Apple silicon and Intel. It does not support iCloud syncing, but settings are saved in the user directory and can be included in computer backups.\n\nDécor was designed with accessibility in mind. In VoiceOver, the widget list is best accessed using VO-U (the Window Spots menu). In add/remove widget mode, the there are rotors for both adding and removing widgets.\n\nIncluded widgets: Calculator, Today, Clock, Weather, Shortcuts Board, Caffeine, Stickies.\n\nVersion 0.1\n\nThis non-final version is for creative-minded developers who have daily backups of the computer they try out new software on. Includes the Widget Construction Kit.\n\nGitHub Discussions\n\nHave a question, an idea or a problem? Ask it in the forum and see if you can help others. Be sure to share any fun and useful widgets you have created.\n\nDécor includes the tools you need to build great widgets. Use your own code editor to write HTML, CSS and JavaScript by hand, or point a coding agent towards the Widget Construction Kit, then monitor and critique its progress until you're happy.\n\n            The Widget Construction Kit is a separate app that can assist when\n            developing widgets. Included is a basic widget template to get you\n            started. Just save it somewhere, open up your editor and the\n            [Widget Design Guide](design.html), and see where the\n            process leads you.\n          \n\nUse the widget Simulator to run your widget separate from your own decor, with simulated personal data. While editing the widget, it will automatically reload, so you can see your changes instantly. And when you have a bug, the Simulator will show it in the console drawer. You can even connect Safari's web inspector to inspect live styles.\n\n            The Widget Construction Kit ships with a command line tool, and\n            it's perfect to use with a coding agent. Install the tool,\n            and instruct the agent to open your new widget using\n            `wck`. The Simulator will show the widget while it's\n            being changed, so you can monitor progress and provide feedback.\n          \n\nMeanwhile, the agent can capture screenshots from the widget so it can \"see\" what it's doing. It can reload the widget, read the console, or run a line of JavaScript to diagnose a problem or try a visual change. The tool also provides instant access to the current reference manual, so the agent is up-to-date on APIs.\n\nThe `widget` object in JavaScript provides access\n           to user data and system functions. Widgets need to declare access\n           and Décor makes sure that some forms of access are mutually\n           exclusive, in order to promote privacy and security. Network\n           access is restrained to prevent widgets from using up too many\n           resources. And users always\n           see the access request list when opening a widget, so they can still\n           decide not to install. Refer to the [API\n           reference](reference.html) to see what's possible.\n\n`widget.calendar.events()` read events from macOS Calendar`widget.metrics()` read cpu, memory, disk, battery, network metrics`widget.location.current()` get the GPS location of the Mac`widget.location.nameSearch()` find locations with GPS coordinates`widget.contacts.search()` read details from macOS contacts`widget.shortcuts.run()` list and run macOS Shortcuts`widget.localeInfo` read regional settings for appropriate formats`widget.chat.respond()` use the local LLM on macOS 26 and up`fetch()` access web services via the Décor network engine", "url": "https://wpnews.pro/news/decor-brings-back-fun-html-widgets-to-the-mac", "canonical_source": "https://stgm.github.io/decor/", "published_at": "2026-11-25 05:39:17+00:00", "updated_at": "2026-11-25 06:14:07.848781+00:00", "lang": "en", "topics": ["developer-tools", "ai-agents"], "entities": ["Décor", "Widget Construction Kit", "Apple", "macOS", "VoiceOver", "Safari", "GitHub"], "also_reported_by": [], "takeaway": "Décor 0.1 lets developers write widgets in HTML, CSS and JavaScript and point a coding agent at the Widget Construction Kit's command line tool, testing changes in a Simulator that auto-reloads and logs errors to a console drawer.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/decor-brings-back-fun-html-widgets-to-the-mac", "markdown": "https://wpnews.pro/news/decor-brings-back-fun-html-widgets-to-the-mac.md", "text": "https://wpnews.pro/news/decor-brings-back-fun-html-widgets-to-the-mac.txt", "jsonld": "https://wpnews.pro/news/decor-brings-back-fun-html-widgets-to-the-mac.jsonld"}}