{"id":20489205,"url":"https://github.com/nousantx/awesome-tenoxui","last_synced_at":"2026-04-11T12:02:37.183Z","repository":{"id":262912066,"uuid":"888154716","full_name":"nousantx/awesome-tenoxui","owner":"nousantx","description":"Collection of tenoxui component ready to steal.","archived":false,"fork":false,"pushed_at":"2024-11-15T00:34:21.000Z","size":854,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T21:01:38.884Z","etag":null,"topics":["components-library","css","css-framework","css3","html","javascript","react","typescript","vite","website-template"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nousantx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-13T22:57:11.000Z","updated_at":"2024-11-15T00:36:02.000Z","dependencies_parsed_at":"2024-11-15T01:20:49.690Z","dependency_job_id":"9ff4e67e-d24b-4381-b094-8007fda9b28c","html_url":"https://github.com/nousantx/awesome-tenoxui","commit_stats":null,"previous_names":["nousantx/awesome-tenoxui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nousantx%2Fawesome-tenoxui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nousantx%2Fawesome-tenoxui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nousantx%2Fawesome-tenoxui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nousantx%2Fawesome-tenoxui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nousantx","download_url":"https://codeload.github.com/nousantx/awesome-tenoxui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242067714,"owners_count":20066751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["components-library","css","css-framework","css3","html","javascript","react","typescript","vite","website-template"],"created_at":"2024-11-15T17:11:41.305Z","updated_at":"2026-04-11T12:02:32.141Z","avatar_url":"https://github.com/nousantx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React + TypeScript + Vite\n\n## What's this?\n\nThis is a react + vite starter template but using tenoxui as styling framework.\n\n## How's it looks like\n\nThis is how the new styles looks like :\n\n```javascript\nimport { tenoxui, use, applyStyles } from 'tenoxui'\nimport { property } from '@tenoxui/property'\n\nuse({ property })\napplyStyles({\n  body: 'm-0 d-flex place-items-center w-mn-320px h-mn-100vh',\n  '#root': 'w-mx-1280px mx-auto'\n  // more styles\n})\ntenoxui()\n```\n\nHere's the breakdown :\n\n1. Import all necessary module\n\n```javascript\nimport { tenoxui, use, applyStyles } from 'tenoxui'\nimport { property } from '@tenoxui/property'\n```\n\n2. What is `property`?\n\n```javascript\nimport { property } from '@tenoxui/property'\n\nconsole.log(property)\n\n// Output:\n// {\n//   bg: 'background',\n//   p: 'padding',\n//   px: ['paddingLeft', 'paddingRight'],\n// }\n```\n\n`property` can optionally imported if you don't wanna rewrite your types and properties manually. The `property` is basically pre-defined types and properties (or shorthands) that ready to use.\n\n3. `use` function\n\n`use` is a function can store your tenoxui configuration. It will make sure the functions like `applyStyles()` and `tenoxui()`\n\n```javascript\nuse({\n  property: { c: 'color', fs: 'fontSize' },\n  values: { full: '100%' }\n})\n```\n\nAfter added some types and properties inside of it, you can immediately use the types as prefix class to your element :\n\n```html\n\u003ch1 class=\"c-#ccf654 fs-3rem\"\u003eHello World!\u003c/h1\u003e\n```\n\n4. `applyStyles` function\n\n```javascript\napplyStyles({\n  body: 'bg-red',\n  'p.text': 'fs-0.8rem'\n  // more\n})\n```\n\nThis function allows you to give styles using specific selectors.\n\n5. Applying the styles (React)\n\n```javascript\nimport { useLayoutEffect } from 'react'\n\nfunction App() {\n  useLayoutEffect(() =\u003e {\n    tenoxui({ c: 'color', fs: 'fontSize' })\n  }, [])\n\n  return \u003ch1 className=\"c-#ccf654 fs-3rem\"\u003eHello World!\u003c/h1\u003e\n}\n```\n\n## Getting Started with TenoxUI\n\n### Add tenoxui to your project\n\nInstall tenoxui using npm or whatever you have :\n\n```sh\nnpm i tenoxui --save-dev\n```\n\n### Include tenoxui to your project\n\nHere's a simple configuration on your `App.jsx` file :\n\n```javascript\nimport { useLayoutEffect } from 'react'\nimport { tenoxui } from 'tenoxui'\n\nconst App = () =\u003e {\n  useLayoutEffect(() =\u003e {\n    tenoxui({ property: { c: 'color' } })\n  }, [])\n\n  return \u003ch1 className=\"c-#ccf654\"\u003eHello World!\u003c/h1\u003e\n}\n\nexport default App\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnousantx%2Fawesome-tenoxui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnousantx%2Fawesome-tenoxui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnousantx%2Fawesome-tenoxui/lists"}