{"id":19076189,"url":"https://github.com/htmlelements/smart-accordion","last_synced_at":"2025-04-30T03:39:20.361Z","repository":{"id":57161055,"uuid":"129623169","full_name":"HTMLElements/smart-accordion","owner":"HTMLElements","description":"Smart Accordion Custom Element | Web Components | HTML Elements | Javascript UI","archived":false,"fork":false,"pushed_at":"2020-01-10T06:48:58.000Z","size":7719,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T03:39:08.516Z","etag":null,"topics":["accordion","accordion-component","accordion-custom-element","accordion-dashboard","accordion-element","accordion-plugin","accordion-tab","accordion-user-interface","accordion-widget","accordionjs","accordionlist","css3","custom-elements","eslint","html-accordion","html-elements","html5","panel","user-interface","web-components"],"latest_commit_sha":null,"homepage":"https://www.htmlelements.com/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HTMLElements.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}},"created_at":"2018-04-15T15:24:19.000Z","updated_at":"2024-04-22T00:09:27.000Z","dependencies_parsed_at":"2022-08-29T07:20:28.342Z","dependency_job_id":null,"html_url":"https://github.com/HTMLElements/smart-accordion","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-accordion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-accordion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-accordion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-accordion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HTMLElements","download_url":"https://codeload.github.com/HTMLElements/smart-accordion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251638699,"owners_count":21619659,"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":["accordion","accordion-component","accordion-custom-element","accordion-dashboard","accordion-element","accordion-plugin","accordion-tab","accordion-user-interface","accordion-widget","accordionjs","accordionlist","css3","custom-elements","eslint","html-accordion","html-elements","html5","panel","user-interface","web-components"],"created_at":"2024-11-09T01:57:27.009Z","updated_at":"2025-04-30T03:39:20.343Z","avatar_url":"https://github.com/HTMLElements.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Smart Accordion Element](https://www.htmlelements.com) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Get%20over%2020%20free%20custom%20elements%20based%20on%20SmartHTMLElements%20\u0026url=https://www.htmlelements.com/\u0026via=htmlelements\u0026hashtags=bootstrap,design,templates,blocks,developers,webcomponents,customelements,polymer,material)\n\n\u0026nbsp;[![Slack](https://smarthtmlelements-slack.herokuapp.com/badge.svg)](https://smarthtmlelements.slack.com/)\n[![Price](https://img.shields.io/badge/price-FREE-0098f7.svg)](https://github.com/HTMLElements/smart-accordion/blob/master/LICENSE)\n[![npm](https://img.shields.io/npm/v/froala-design-blocks.svg?colorB=brightgreen)](https://www.npmjs.com/package/@smarthtmlelements/smart-accordion)\n[![GitHub package version](https://img.shields.io/github/package-json/v/HTMLElements/smart-accordion.svg)](https://github.com/HTMLElements/smart-accordion)\n[![License: APACHE](https://img.shields.io/badge/license-APACHE-blue.svg)](https://github.com/HTMLElements/smart-accordion/blob/master/LICENSE)\n[![](https://img.shields.io/website-up-down-green-red/https/shields.io.svg?label=www.htmlelements.com)](https://www.htmlelements.com)\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/htmlelements/smart-accordion)\n\n# \u0026lt;smart-accordion\u0026gt;\n\n[Live Demo ↗](https://htmlelements.com/demos/accordion/)\n|\n[Documentation ↗](https://www.htmlelements.com/docs/)\n|\n[Installation ↗](https://www.npmjs.com/package/@smarthtmlelements/smart-core)\n\n[\u0026lt;smart-accordion\u0026gt;](https://htmlelements.com/demos/accordion/) is a Custom HTML Element with expandable panels, part of the [Smart HTML Elements](http://htmlelements.com/). Each panel has header and content. \n\n\u003c!--\n```\n\u003ccustom-element-demo\u003e\n  \u003ctemplate\u003e\n    \u003cscript src=\"../webcomponentsjs/webcomponents-lite.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"../smart-core/source/smart.core.js\"\u003e\u003c/script\u003e\n    \u003clink rel=\"stylesheet\" href=\"https://www.htmlelements.com/demos/source/styles/smart.default.css\" type=\"text/css\" /\u003e\n     \u003cnext-code-block\u003e\u003c/next-code-block\u003e\n  \u003c/template\u003e\n\u003c/custom-element-demo\u003e\n```\n--\u003e\n```html\n \u003csmart-accordion\u003e\n  \u003csmart-accordion-item label=\"Item 1\" content=\"Content 1\" expanded\u003e\u003c/smart-accordion-item\u003e\n  \u003csmart-accordion-item label=\"Item 2\" content=\"Content 2\"\u003e\u003c/smart-accordion-item\u003e\n  \u003csmart-accordion-item label=\"Item 3\" content=\"Content 3\"\u003e\u003c/smart-accordion-item\u003e  \n \u003c/smart-accordion\u003e\n```\n\n[\u003cimg src=\"https://raw.githubusercontent.com/htmlelements/smart-accordion/master/accordion.png\" alt=\"Screenshot of smart-accordion, using the Material theme\"\u003e](https://htmlelements.com/demos/accordion)\n\n[\u003cimg src=\"https://raw.githubusercontent.com/htmlelements/smart-accordion/master/accordion-mobile.png\" alt=\"Screenshot of smart-accordion mobile, using the Material theme\"\u003e](https://htmlelements.com/demos/accordion)\n\n## Getting Started\n\nSmart HTML Elements components documentation includes getting started, customization and api documentation topics.\n\n[Getting Started Documentation](https://www.htmlelements.com/docs/accordion/)\n|\n[CSS Documentation](https://www.htmlelements.com/docs/accordion-css/)\n|\n[API Documentation](https://www.htmlelements.com/docs/accordion-api/)\n\n\n## The file structure for Smart HTML Elements\n\n- `source/`\n\n  Javascript files.\n\n- `source/styles/`\n\n  Component CSS Files.\n\n- `demos/`\n\n  Demo files\n\n## Running demos in browser\n\n1. Fork the `Smart-HTML-Elements-Core` repository and clone it locally.\n\n1. Make sure you have [npm](https://www.npmjs.com/) installed.\n\n1. When in the `Smart-HTML-Elements-Core` directory, run `npm install` and then `bower install` to install dependencies.\n\n1. Run a localhost or upload the demo on a web server. Then run:\n\n  - /demos/smart-accordion/smart-accordion-overview.htm\n\n\n## Following the coding style\n\nWe are using [ESLint](http://eslint.org/) for linting JavaScript code. \n\n## Creating a pull request\n\n  - Make sure your code is compliant with ESLint\n  - [Submit a pull request](https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github) with detailed title and description\n  - Wait for response from one of our team members\n\n\n## License\n\nApache License 2.0\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtmlelements%2Fsmart-accordion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhtmlelements%2Fsmart-accordion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtmlelements%2Fsmart-accordion/lists"}