{"id":18468880,"url":"https://github.com/mubaris/zifi","last_synced_at":"2025-10-14T03:37:09.788Z","repository":{"id":57405980,"uuid":"127292957","full_name":"mubaris/zifi","owner":"mubaris","description":"zifi - Make Stories everywhere using React :heart_eyes:","archived":false,"fork":false,"pushed_at":"2018-04-14T06:27:27.000Z","size":1889,"stargazers_count":85,"open_issues_count":0,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-23T11:04:19.752Z","etag":null,"topics":["javascript","javascript-library","react","react-component","reactjs","story"],"latest_commit_sha":null,"homepage":"","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/mubaris.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-03-29T13:09:46.000Z","updated_at":"2024-10-17T22:03:20.000Z","dependencies_parsed_at":"2022-09-11T23:51:59.118Z","dependency_job_id":null,"html_url":"https://github.com/mubaris/zifi","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mubaris%2Fzifi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mubaris%2Fzifi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mubaris%2Fzifi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mubaris%2Fzifi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mubaris","download_url":"https://codeload.github.com/mubaris/zifi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247824150,"owners_count":21002215,"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":["javascript","javascript-library","react","react-component","reactjs","story"],"created_at":"2024-11-06T10:08:25.419Z","updated_at":"2025-10-14T03:37:04.767Z","avatar_url":"https://github.com/mubaris.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zifi 🦄\n\n\u003e Make Stories everywhere using React ♥\n\n\u003cimg src=\"zifi.png\" alt=\"Zifi Logo\" height=\"200\" width=\"200\"\u003e\n\n[![NPM](https://img.shields.io/npm/v/zifi.svg)](https://www.npmjs.com/package/zifi) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Install\n\n```bash\nyarn add zifi\n```\n\n## Features\n\n* Fullscreen API\n* Custom Styles\n* Responsive\n* Made with ♥\n\nInspired by ProductHunt Sip and Medium Series 😍\n\n## Preview\n\n![Zifi Preview](https://media.giphy.com/media/3FcvuBdseyQmskoyAq/giphy.gif)\n\n## Usage\n\nClicking on `Story.Trigger` triggers the `Story`. Each `Story.Item` will displayed according to user interaction.\n\n30% of the left side will display previous story and 70% of the right side will display next story.\n\n```jsx\nimport React, { Component } from 'react'\n\nimport Story from 'zifi'\n\nclass Example extends Component {\n  render () {\n    return (\n      \u003cStory fullScreen={true}\u003e\n        \u003cStory.Trigger\u003e\n          \u003cHolder\u003e\n            \u003ch4\u003e2018's Most Innovative Companies\u003c/h4\u003e\n            \u003cimg \n              alt=\"Tim Cook\" \n              src=\"https://www.biography.com/.image/ar_1:1%2Cc_fill%2Ccs_srgb%2Cg_face%2Cq_80%2Cw_300/MTE5NDg0MDU1MzM0OTc5MDg3/tim-cook-20967297-1-402.jpg\" \n              height=\"100px\"\n              width=\"100px\"\n            /\u003e\n          \u003c/Holder\u003e\n        \u003c/Story.Trigger\u003e\n        \u003cStory.Item\n          backgroundImage=\"url(https://pi.tedcdn.com/r/tedideas.files.wordpress.com/2017/03/frugal_innovation.png)\"\n          blur=\"10px\"\n        \u003e\n          \u003cTitle\u003e\n            \u003ch1\u003e2018's Most Innovative Companies are here \u003cspan role=\"img\" \u003e🌍\u003c/span\u003e \u003cspan role=\"img\" \u003e🚀\u003c/span\u003e\u003c/h1\u003e\n            \u003cp\u003eFast Company just released their picks for the 350+ most innovative companies of the year.\u003c/p\u003e\n          \u003c/Title\u003e\n        \u003c/Story.Item\u003e\n        \u003cStory.Item backgroundImage=\"linear-gradient(135deg, #fad961 0%,#f76b1c 100%)\" \u003e\n          \u003cPack\u003e\n            \u003cp\u003e\u003cstrong\u003eFast Company \u003c/strong\u003e\u003cspan\u003eEditorial Staff\u003c/span\u003e\u003c/p\u003e\n          \u003c/Pack\u003e\n          \u003cblockquote\u003e\n            The 2018 edition spans more than 350 enterprises across 35 categories, from the worlds most valuable firm to a small outfit selling natural gum to preserve rainforests.\n          \u003c/blockquote\u003e\n        \u003c/Story.Item\u003e\n        \u003cStory.Item\u003e\n          \u003cImageWrapper\u003e\n            \u003cimg src=\"https://media.giphy.com/media/l41m0H6DL7jZd4nKM/giphy.gif\" alt=\"Tim Cook\" /\u003e\n            \u003cp\u003eApple won the coveted #1 spot, with its release of the much-loved iPhone X, AirPod, and ARKit platform\u003c/p\u003e\n          \u003c/ImageWrapper\u003e\n        \u003c/Story.Item\u003e\n        \u003cStory.Item\u003e\n          \u003cp\u003eA surprising contender, Patagonia came in sixth in part for their focus on helping the environment\u003c/p\u003e\n        \u003c/Story.Item\u003e\n        \u003cStory.Item backgroundImage=\"linear-gradient(135deg, #5b247a 0%,#1bcedf 100%);\"\u003e\n          \u003cButton\u003eRead More\u003c/Button\u003e\n        \u003c/Story.Item\u003e\n      \u003c/Story\u003e\n    )\n  }\n}\n```\n\n## Props\n\n### Story\n\nProperty|Type|Default|Description\n---|---|---|---\nfullScreen|bool|false|whether to show stories in full screen\nprogress|bool|true|whether to show progress bar\nprogressColor|string|#2db7f5|stroke color of the progress bar\nprogressWidth|number|1|width of the progress bar\nprogressLinecap|string|round|The shape to be used at the end of the progress bar, can be `butt`, `square` or `round`.\nprogressTrailColor|string|#2db7f500|Color for lighter trail stroke underneath the actual progress path.\n\n\n### Story.Item\n\nProperty|Type|Default|Description\n---|---|---|---\nbackgroundImage|string| |background image css property. pass url or gradient\nblur|string| |filter - blur css property.\n\n## License\n\nMIT © [mubaris](https://github.com/mubaris)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmubaris%2Fzifi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmubaris%2Fzifi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmubaris%2Fzifi/lists"}