{"id":15046840,"url":"https://github.com/gero1992/side-menu","last_synced_at":"2026-03-11T02:38:20.211Z","repository":{"id":55918064,"uuid":"316843862","full_name":"gero1992/side-menu","owner":"gero1992","description":"A Web UI navigation implemented with LitElement","archived":false,"fork":false,"pushed_at":"2024-01-19T13:47:14.000Z","size":2220,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-04T01:09:24.554Z","etag":null,"topics":["drawer-navigation","javascript","lit-element","litelement","navigation"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gero1992.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-11-28T23:56:11.000Z","updated_at":"2024-04-28T16:10:13.000Z","dependencies_parsed_at":"2025-02-15T20:15:40.303Z","dependency_job_id":null,"html_url":"https://github.com/gero1992/side-menu","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/gero1992/side-menu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gero1992%2Fside-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gero1992%2Fside-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gero1992%2Fside-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gero1992%2Fside-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gero1992","download_url":"https://codeload.github.com/gero1992/side-menu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gero1992%2Fside-menu/sbom","scorecard":{"id":423831,"data":{"date":"2025-08-11","repo":{"name":"github.com/gero1992/side-menu","commit":"9a7e9d05a45cf6bb5b511bac52eaa161010dd2bc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/gero1992/side-menu/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/gero1992/side-menu/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/gero1992/side-menu/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/gero1992/side-menu/ci.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"15 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-28mc-g557-92m7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-593f-38f6-jp5m","Warn: Project is vulnerable to: GHSA-x2rg-q646-7m2v","Warn: Project is vulnerable to: GHSA-jgmv-j7ww-jx2x","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T01:50:36.118Z","repository_id":55918064,"created_at":"2025-08-19T01:50:36.118Z","updated_at":"2025-08-19T01:50:36.118Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30367816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["drawer-navigation","javascript","lit-element","litelement","navigation"],"created_at":"2024-09-24T20:53:38.852Z","updated_at":"2026-03-11T02:38:20.185Z","avatar_url":"https://github.com/gero1992.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badgen.net/npm/v/@maksu/side-menu)](https://www.npmjs.com/package/@maksu/side-menu)\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/@maksu/side-menu)\n[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/gero1992side-menu)\n\n# side-menu\n\nSide-menu is a LitElement Web Component providing application navigation functionality withing the UI. \nIt can be used for hierarchical or flat navigation.\n\n[Live demo](https://gero1992.github.io/side-menu/)\n\n##### Supported features:\n1. Compact and normal modes\n1. Adding icons to the elements\n1. Multi level navigation\n\n![Example of side-menu](https://github.com/gero1992/side-menu/blob/master/example.png)\n\n## Installation\nInstall 'side-menu' web component:\n```sh\nnpm i @maksu/side-menu --save\n```\nAfter that you can import in an html file:\n```html\n\u003chead\u003e\n    \u003cscript type=\"module\"\u003e\n        import '@maksu/side-menu/side-menu.js'\n        import '@maksu/side-menu/side-menu-item.js'\n    \u003c/script\u003e\n\u003c/head\u003e\n```\n\nor in another LitElement:\n```js\nimport {LitElement, html} from \"lit-element\";\n\nimport '@maksu/side-menu/side-menu.js';\nimport '@maksu/side-menu/side-menu-item.js';\n\nclass ExampleElement extends LitElement {\n  static get template() {\n    return html`\n        \u003cside-menu\u003e\n            \u003cside-menu-item label='Home' href='https://www.example.com'\u003e\n            \u003c/side-menu-item\u003e\n        \u003c/side-menu\u003e\n    `;\n  }\n}\n\ncustomElements.define('example-element', ExampleElement);\n```\n \n## Examples\n\n#### Simple\n```html\n\u003cside-menu\u003e\n    \u003cside-menu-item label=\"Home\" href=\"/home\"\u003e\u003c/side-menu-item\u003e\n    \u003cside-menu-item label=\"Accounts\" href=\"/accounts\"\u003e\u003c/side-menu-item\u003e\n    \u003cside-menu-item label=\"Assignments\" href=\"/assignments\" target=\"_blank\"\u003e\u003c/side-menu-item\u003e\n\u003c/side-menu\u003e\n```\n\n#### Icon\n```html\n\u003cside-menu\u003e\n   \u003cside-menu-item label=\"Home\" href=\"/home\"\u003e\n      \u003ciron-icon icon=\"home\" slot=\"icon\"\u003e\u003c/iron-icon\u003e\n   \u003c/side-menu-item\u003e\n   \u003cside-menu-item label=\"Accounts\" href=\"/accounts\"\u003e\n      \u003ciron-icon icon=\"account-circle\" slot=\"icon\"\u003e\u003c/iron-icon\u003e\n   \u003c/side-menu-item\u003e\n   \u003cside-menu-item label=\"Assignments\" href=\"/assignments\" target=\"_blank\"\u003e\n      \u003ciron-icon icon=\"assignment-turned-in\" slot=\"icon\"\u003e\u003c/iron-icon\u003e\n   \u003c/side-menu-item\u003e\n\u003c/side-menu\u003e\n```\n\n#### Multi-level\n```html\n\u003cside-menu\u003e\n   \u003cside-menu-item label=\"Home\"\u003e\n      \u003ciron-icon icon=\"home\" slot=\"icon\"\u003e\u003c/iron-icon\u003e\n   \u003c/side-menu-item\u003e\n   \u003cside-menu-item label=\"Favorites\" expanded\u003e\n      \u003ciron-icon icon=\"favorite\" slot=\"icon\"\u003e\u003c/iron-icon\u003e\n      \u003cside-menu-item label=\"Learn\"\u003e\n         \u003cside-menu-item\n            label=\"How to\"\n            href=\"/howto\"\n            target=\"_blank\"\u003e        \n         \u003c/side-menu-item\u003e\n      \u003c/side-menu-item\u003e\n      \u003cside-menu-item\n         label=\"Web Components\"\n         href=\"/webcomponents\"\n         target=\"_blank\"\u003e\n      \u003c/side-menu-item\u003e\n      \u003cside-menu-item label=\"Guides\" href=\"guides\"\u003e\u003c/side-menu-item\u003e\n   \u003c/side-menu-item\u003e\n\u003c/side-menu\u003e\n```\n\n#### Set item selected:\nYou can set an item to be selected by adding a **`selected`** attribute to it\n```html\n\u003cside-menu\u003e\n    \u003cside-menu-item label=\"Home\" selected\u003e\u003c/side-menu-item\u003e\n\u003c/side-menu\u003e\n```\n\n#### Expand nested items:\nWhen you have a multi level menu, you can expand the child items by adding **`expanded`** attribute to the parent:\n```html\n\u003cside-menu\u003e\n   \u003cside-menu-item label=\"Parent\" expanded\u003e\n      \u003cside-menu-item label=\"Child\"\u003e\u003c/side-menu-item\u003e\n   \u003c/side-menu-item\u003e\n\u003c/side-menu\u003e\n```\n\n## Running the demo locally\n1. Fork the `side-menu` repository and clone it.\n1. Run `npm install` to install the dependencies.\n1. Run `npm start` and the browser will automatically open the component demo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgero1992%2Fside-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgero1992%2Fside-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgero1992%2Fside-menu/lists"}