{"id":13544302,"url":"https://github.com/animakit/animakit-expander","last_synced_at":"2025-04-02T14:30:41.095Z","repository":{"id":57180079,"uuid":"56852423","full_name":"animakit/animakit-expander","owner":"animakit","description":"UNMAINTAINED: AnimakitExpander","archived":false,"fork":false,"pushed_at":"2019-03-07T07:47:41.000Z","size":117,"stargazers_count":37,"open_issues_count":3,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-07T22:17:51.066Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://animakit.github.io/","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/animakit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-04-22T12:03:19.000Z","updated_at":"2023-03-05T11:46:07.000Z","dependencies_parsed_at":"2022-09-14T03:31:15.307Z","dependency_job_id":null,"html_url":"https://github.com/animakit/animakit-expander","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/animakit%2Fanimakit-expander","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/animakit%2Fanimakit-expander/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/animakit%2Fanimakit-expander/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/animakit%2Fanimakit-expander/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/animakit","download_url":"https://codeload.github.com/animakit/animakit-expander/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246832112,"owners_count":20841112,"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":[],"created_at":"2024-08-01T11:00:45.485Z","updated_at":"2025-04-02T14:30:40.552Z","avatar_url":"https://github.com/animakit.png","language":"JavaScript","funding_links":[],"categories":["UI Animation","Ferramentas"],"sub_categories":["Form Components"],"readme":"# AnimakitExpander\n\n**WARNING:** Currently unmaintained because of lack of interest, activity and resources\n\n\nReact component for the expanding and collapsing of the blocks.\nSupports both vertical and horizontal mode.\n\n## Usage\n\n```javascript\n\u003cTitle onClick={toggle} /\u003e\n\u003cAnimakitExpander expanded={this.state.expanded}\u003e\n  \u003cText /\u003e\n\u003c/AnimakitExpander\u003e\n```\n\n## [Demo](https://animakit.github.io/#/expander)\n\n## Installation\n\n```\nnpm install animakit-expander\n```\n\n## Properties\n\n| Property | Required | Type | Default Value  | Available Values  | Description |\n| ----- | ----- | ----- | ----- | ----- | ----- |\n| expanded | true | bool | `false` | `true`, `false` | State of the component: expanded or collapsed |\n| horizontal | false | bool | `false` | `true`, `false` | If true, component will expand in horizontal direction |\n| align | false | string |  | `top`, `bottom` for the default direction or `left`, `right` for the horizontal direction | Align of the content during the animation |\n| duration | false | number | `500` | Any integer number | Duration of animation |\n| durationPerPx | false | number | `0` | Any integer number | Duration of animation per pixel. Use it if you want the duration depended on the size and calculated dynamically. |\n| easing | false | string | `ease-out` | Any [easing function](http://easings.net/) | Easing function of animation |\n\n\n## Origin\n\nPart of Animakit.\nSee https://animakit.github.io for more details.\n\n\u003ca href=\"https://evilmartians.com/?utm_source=animakit\"\u003e\n  \u003cimg src=\"https://evilmartians.com/badges/sponsored-by-evil-martians.svg\"\n       alt=\"Sponsored by Evil Martians\" width=\"236\" height=\"54\"\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanimakit%2Fanimakit-expander","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanimakit%2Fanimakit-expander","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanimakit%2Fanimakit-expander/lists"}