{"id":21842894,"url":"https://github.com/pandaplatform/panda-js-ui","last_synced_at":"2026-05-09T05:31:07.438Z","repository":{"id":152937455,"uuid":"67309680","full_name":"PandaPlatform/panda-js-ui","owner":"PandaPlatform","description":"Panda Ui Javascript Library Components","archived":false,"fork":false,"pushed_at":"2018-03-03T21:13:56.000Z","size":141,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"v2.0","last_synced_at":"2025-10-26T23:44:20.403Z","etag":null,"topics":["javascript","ui-kit"],"latest_commit_sha":null,"homepage":"https://pandaphp.org","language":"CSS","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/PandaPlatform.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG-2.0.md","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":"2016-09-03T20:12:59.000Z","updated_at":"2018-03-03T21:11:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8e8f6d1-6725-435e-b2ce-94d616b91687","html_url":"https://github.com/PandaPlatform/panda-js-ui","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/PandaPlatform/panda-js-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PandaPlatform%2Fpanda-js-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PandaPlatform%2Fpanda-js-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PandaPlatform%2Fpanda-js-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PandaPlatform%2Fpanda-js-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PandaPlatform","download_url":"https://codeload.github.com/PandaPlatform/panda-js-ui/tar.gz/refs/heads/v2.0","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PandaPlatform%2Fpanda-js-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32808381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["javascript","ui-kit"],"created_at":"2024-11-27T22:13:42.431Z","updated_at":"2026-05-09T05:31:07.382Z","avatar_url":"https://github.com/PandaPlatform.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Panda UI Javascript Library\n\nThis is the panda UI javascript library of services and helpers.\n\n- [Libraries Used](#libraries-used)\n- [Services](#services)\n  - [DOM](#dom)\n  - [HTML](#html)\n    - [HTMLFrame](#htmlframe)\n    - [Weblink](#weblink)\n  - [Forms](#forms)\n    - [Controls](#controls)\n      - [FormElement](#formelement)\n      - [FormInput](#forminput)\n      - [FormButton](#formbutton)\n      - [FormLabel](#formlabel)\n\n## Libraries Used\n\nPanda UI Javascript Library is based on **jQuery**.\n\n## Services\n\nPanda UI Js is a library of different services that are combined together into a single file.\n\nDifferent services have different namespaces, based on the behavior and logic. The purpose of this library is to \ncreate a simplified interface for creating and handling HTML objects.\n\nAn example if such library is **FormElement**:\n\n```javascript\nPanda.Ui.Forms.FormElement.create('input', 'name', 'value', 'id', 'class');\n```\n\nThis document will display the entire set of Services as they are distributed in different packages and namespaces.\n\n### DOM\n\nDOM is the basic Service which allows to create different html tags. Usage:\n\n```javascript\nPanda.Ui.DOM.create('p', 'This is a paragraph', 'id', 'class');\n```\n\nThe above element is a jQuery object and we can use it accordingly:\n```javascript\nPanda.Ui.DOM.create('p', 'This is a paragraph', 'id', 'class')\n    .appendTo('body');\n```\n\n### HTML\n\nHTML is a service that extends DOM and provides the base for building more complex HTML Elements.\n\n#### HTMLFrame\n\nHTMLFrame is a simple service that creates `\u003ciframe\u003e` elements:\n\n```javascript\nvar sandbox = true;\nPanda.Ui.HTML.HTMLFrame.create('/src/for/frame', 'name', 'id', 'class', sandbox)\n    .appendTo('body');\n```\n\n#### Weblink\n\nWeblink is a simple service that creates `\u003ca\u003e` elements:\n\n```javascript\nPanda.Ui.HTML.Weblink.create('/path/to/href', '_blank', 'Weblink title', 'id', 'class')\n    .appendTo('div.weblink-container');\n```\n\n### Forms\n\nForms is a base service for building form elements.\n\n#### Controls\n\nControls (Forms) is a base service for building form controls and elements.\n\n##### FormElement\n\nFormElement is a service that creates form elements that have [name] and [value] attributes. Usage:\n\n```javascript\nPanda.Ui.Forms.Controls.FormElement.create('input', 'name', 'value', 'id', 'class')\n    .appendTo('form');\n```\n\n##### FormInput\n\nFormInput is a service that creates form inputs with all its necessary attributes:\n\n```javascript\nvar required = false;\nPanda.Ui.Forms.Controls.FormInput.create('text', 'name', 'value', 'id', required)\n    .appendTo('form');\n```\n\nFormInput works automatically with checkbox and radio inputs. Set value to `true` or `false` to set to checked.\n\n##### FormButton\n\nFormButton is a service that creates button of any type:\n\n```javascript\nPanda.Ui.Forms.Controls.FormButton.create('A Button', 'button', 'id', 'string')\n    .appendTo('form');\n```\n\n##### FormLabel\n\nFormLabel is a service that creates labels:\n\n```javascript\nvar required = false;\nvar inputId = 'test_input';\nPanda.Ui.Forms.Controls.FormInput.create('text', 'name', 'value', inputId, required)\n    .appendTo('form');\n\nPanda.Ui.Forms.Controls.FormLabel.create('A Label', inputId)\n    .prependTo('form');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandaplatform%2Fpanda-js-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpandaplatform%2Fpanda-js-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandaplatform%2Fpanda-js-ui/lists"}