{"id":15645036,"url":"https://github.com/jossmac/react-height-transition","last_synced_at":"2025-04-30T10:26:43.217Z","repository":{"id":66030329,"uuid":"135720594","full_name":"jossmac/react-height-transition","owner":"jossmac","description":"📏 Animate height when children mount/unmount","archived":false,"fork":false,"pushed_at":"2019-01-22T03:46:51.000Z","size":129,"stargazers_count":57,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T10:26:15.576Z","etag":null,"topics":["animate","height","mount","react","slide","transition"],"latest_commit_sha":null,"homepage":"https://jossmac.github.io/react-height-transition","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/jossmac.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":"2018-06-01T13:24:39.000Z","updated_at":"2024-02-23T19:09:53.000Z","dependencies_parsed_at":"2023-03-10T23:30:41.360Z","dependency_job_id":null,"html_url":"https://github.com/jossmac/react-height-transition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jossmac%2Freact-height-transition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jossmac%2Freact-height-transition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jossmac%2Freact-height-transition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jossmac%2Freact-height-transition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jossmac","download_url":"https://codeload.github.com/jossmac/react-height-transition/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251684366,"owners_count":21627120,"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":["animate","height","mount","react","slide","transition"],"created_at":"2024-10-03T12:04:08.869Z","updated_at":"2025-04-30T10:26:43.182Z","avatar_url":"https://github.com/jossmac.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Height Transition\n\nAnimate height when children mount and unmount.\n\nhttps://jossmac.github.io/react-height-transition\n\n```jsx\nimport HeightTransition from 'react-height-transition';\n\nconst AnimatedAlert = ({ isOpen, ...rest }) =\u003e (\n  \u003cHeightTransition initial={0} duration={400} easing=\"ease-in-out\"\u003e\n    {isOpen ? \u003cAlert {...rest} /\u003e : null}\n  \u003c/HeightTransition\u003e\n);\n```\n\n## Alternatives\n\nThis component is intentionally simple. For more sophisticated alternatives that react to changing content height, checkout:\n\n- https://github.com/souporserious/react-fluid-container\n- https://github.com/Stanko/react-animate-height\n- https://github.com/nkbt/react-collapse\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjossmac%2Freact-height-transition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjossmac%2Freact-height-transition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjossmac%2Freact-height-transition/lists"}