Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A free, open-source collection of ready-to-use UI components and micro layouts written in HTML & CSS.
Lotrek UI is a free, open-source collection of ready-to-use UI components and micro layouts built with plain HTML and CSS, designed to speed up interface assembly without forcing a specific JavaScript framework.
Lotrek UI is a UI kit created by the Lotrek agency and published on GitHub under the MIT License. It consists of a set of Vue single-file components that contain HTML templates and, when needed, starter CSS and JavaScript. The core output is a collection of copy-paste-ready HTML blocks plus a single stylesheet (lotrek-ui.css) that makes them render correctly. The project is developed on a NuxtJS demo site that also serves as documentation.
To use a block, find a component file under /components/category/name-of-block.vue, copy the HTML inside its template tag, and add the lotrek-ui.css stylesheet to your project. You can install the stylesheet via yarn add lotrek-ui-css and import it in your JavaScript. To run the demo locally, run yarn install and yarn dev, then open http://localhost:3000/.
Lotrek UI is free and open source. The MIT License allows unlimited use, modification, and distribution, including inside commercial products, with no attribution or license fee required.
Yes. The repository is licensed under the MIT License, so you can freely use, copy, modify, and redistribute it, even in commercial applications.
No. While the demo and component files use Vue single-file components, the actual HTML blocks are plain HTML and CSS. You only need to copy the markup and link the CSS file.
You can install the npm package lotrek-ui-css with yarn add lotrek-ui-css, then import it in your JavaScript with import 'lotrek-ui-css/build/lotrek-ui.css'. Or you can use the built file from the /styles/build directory.
The lotrek-ui.css file is less than 3 KB when compressed with GZIP, which makes it one of the smallest CSS-only UI kits available.
The project welcomes pull requests. Create a branch like feature/myblock from master, add a Vue component file to the /components/category folder, write the SCSS in /styles/blocks/category, import it in main.scss, and submit a pull request.
