Domain Rating
by Ahrefs
Domain Rating by Ahrefs37
Description
uilang is a minimal programming language for web designers that lives inside plain HTML. You write short instructions in a script block near the end of your page, in a syntax the author describes as close to plain English. The instructions add, remove or toggle classes on elements when something is clicked, and your own CSS then shows, hides, animates or transforms the elements. That is enough for common interface behaviour such as tabs, popovers, overlays and sliding menus. To get started you include the uilang.js file on your page, which the project says is about 1KB minified, and then write the block. Each instruction has four parts: a CSS selector, an action of adds, removes or toggles, a class name, and a target selector or the keyword target for the clicked element. Only click events are supported. The author notes that hover effects are usually better done in CSS, and other events are out of scope so the language stays small. The project is public on GitHub, and it is aimed at designers who want interactive prototypes without writing their own JavaScript.…
Highlights
- Short, plain-English-like syntax inside HTML
- Adds, removes or toggles classes on click
- Builds tabs, popovers, overlays and sliding menus with CSS
- Minified script of about 1KB
Ratings & Reviews
No ratings yet
Be the first to rate UILang.
People also visit
UILang FAQ
What is uilang?
A minimal, UI-focused programming language for web designers. You write it as a short script inside your HTML page.
How do I install it?
Include the uilang.js file on your page, then write your uilang block at the very end of the page. The minified file is about 1KB.
Which events does it support?
Only clicks. The author says hover effects are usually better handled in CSS.
Is it open source?
Yes. The project is public on GitHub at bendc/uilang.
Who is it for?
Web designers who want common interface behaviour, such as tabs or menus, without learning a full programming language.
What are the best UILang alternatives?
Popular alternatives to UILang include Webui, Materialize CSS and Layouts.dev. See all UILang alternatives
















