Very lightweight and easy to configure, utility-first CSS framework.
Documentation
Using npm:
npm i tenoxui --save-dev
Using CDN :
<script src="https://cdn.jsdelivr.net/npm/tenoxui@latest/dist/js/tenoxui.min.js"></script>
<!doctype html>
<html>
<head>
<title>TenoxUI</title>
<script src="https://cdn.jsdelivr.net/npm/tenoxui"></script>
</head>
<body>
<h1 class="text-#ccf654 fs-4rem">Hello World!</h1>
<script>
tenoxui({ text: "color", fs: "fontSize" });
</script>
</body>
</html>
import { useLayoutEffect } from "react";
import tenoxui from "tenoxui";
const App = () => {
useLayoutEffect(() => {
// add tenoxui
tenoxui({ text: "color", fs: "fontSize" });
}, []);
return <h1 className="text-#ccf654 fs-4rem">Hello World!</h1>;
};
export default App;
TenoxUI also provide a library of defined types and properties that you can use without defining it one by one. You can add the property
to your project using CDN or install it using npm :
<script src="https://cdn.jsdelivr.net/npm/@tenoxui/property"></script>
Or :
npm i tenoxui @tenoxui/property
import tenoxui from "tenoxui";
import property from "@tenoxui/property";
<script>
tenoxui(property);
</script>
Or ReactJS :
import { useLayoutEffect } from "react";
import tenoxui from "tenoxui";
import property from "@tenoxui/property";
const App = () => {
useLayoutEffect(() => {
// add tenoxui
tenoxui(property); // use tenoxui property
}, []);
return <h1 className="tc-red">Hello World!</h1>;
};
export default App;
You can see all types and properties on GitHub Repository or Here.