# uce **Repository Path**: mirrors_WebReflection/uce ## Basic Information - **Project Name**: uce - **Description**: µhtml based Custom Elements - **Primary Language**: Unknown - **License**: ISC - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2026-01-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # µce [![Downloads](https://img.shields.io/npm/dm/uce.svg)](https://www.npmjs.com/package/uce) [![Build Status](https://travis-ci.com/WebReflection/uce.svg?branch=master)](https://travis-ci.com/WebReflection/uce) [![Coverage Status](https://coveralls.io/repos/github/WebReflection/uce/badge.svg?branch=master)](https://coveralls.io/github/WebReflection/uce?branch=master) ![windflower](./uce-head.jpg) **Social Media Photo by [Dawid Zawiła](https://unsplash.com/@davealmine) on [Unsplash](https://unsplash.com/)** **[µhtml](https://github.com/WebReflection/uhtml#readme)** based Custom Elements. ### 📣 Community Announcement Please ask questions in the [dedicated discussions repository](https://github.com/WebReflection/discussions), to help the community around this project grow ♥ --- ## API Overview _µce_ exports `render`, `html`, and `svg`, from _µhtml_, plus its own way to `define` components. In version *1.2*, it exports also a [plain-tag](https://github.com/WebReflection/plain-tag#readme) named `css`, useful to trigger _CSS_ minifiers. Check out the [test page](https://webreflection.github.io/uce/test/) or this [code pen playground](https://codepen.io/WebReflection/pen/MWwJpWx?editors=0010). ```js // list of all exports import {define, render, html, svg, css} from 'uce'; define('my-component', { // if specified, it can extend built-ins too. // by default it's 'element', as HTMLElement extends: 'div', // if specified, it injects once per class definition // a global