{"id":28403523,"url":"https://github.com/usablica/kissui.sticky","last_synced_at":"2025-10-12T22:16:40.628Z","repository":{"id":136843827,"uuid":"65750614","full_name":"usablica/kissui.sticky","owner":"usablica","description":"Simple and lightweight sticky position that works everywhere","archived":false,"fork":false,"pushed_at":"2017-10-16T11:38:34.000Z","size":35,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-27T08:41:59.787Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://sticky.kissui.io","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/usablica.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}},"created_at":"2016-08-15T17:19:34.000Z","updated_at":"2024-02-22T17:20:07.000Z","dependencies_parsed_at":"2023-09-24T07:15:27.044Z","dependency_job_id":null,"html_url":"https://github.com/usablica/kissui.sticky","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"ada9b5bb5f7f0ead44892f48a8453e0aebd84879"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/usablica/kissui.sticky","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usablica%2Fkissui.sticky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usablica%2Fkissui.sticky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usablica%2Fkissui.sticky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usablica%2Fkissui.sticky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usablica","download_url":"https://codeload.github.com/usablica/kissui.sticky/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usablica%2Fkissui.sticky/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267814318,"owners_count":24148328,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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":[],"created_at":"2025-06-01T18:07:36.008Z","updated_at":"2025-10-12T22:16:40.504Z","avatar_url":"https://github.com/usablica.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kissui.sticky\n\u003e Simple and lightweight sticky position that works everywhere.\n\nKeeps elements positioned as \"fixed\" or \"relative\" depending on how it appears in the viewport. As a result the element is \"stuck\" when necessary while scrolling.\n\n## Install\n\nYou can use *NPM* or *Bower* or *download the package manually*.\n\n## Getting Started\n\nUsing this libarary is as easy as adding `data-kui-sticky` attribute to your elements:\n\n```html\n\u003cp data-kui-sticky\u003eHello world!\u003c/p\u003e\n```\n\nThat's it.\n\n## Advanced\n\nYou can use the API to add an element:\n\n```js\nkissuiSticky.add(element, {\n  'className': 'custom_class',\n});\n```\n\nIf you need more help, explore `/example` in the repo.\n\n## Example \n\nYou can simply add the `data-kui-sticky` attribute to any elements and that's it:\n\n```html\n\u003cp data-kui-sticky\u003e\u003c/p\u003e\n```\n\nOr if you want to add a custom CSS class after activating the sticky position, use this:\n\n```html\n\u003cp data-kui-sticky=\"custom_class\"\u003e\u003c/p\u003e\n```\n\n\u003cimg src='http://wanna-joke.com/wp-content/uploads/2013/04/cool-cat.gif' width=\"200\" /\u003e\n\n## Author\nAfshin Mehrabani\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusablica%2Fkissui.sticky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusablica%2Fkissui.sticky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusablica%2Fkissui.sticky/lists"}