{"id":31919502,"url":"https://github.com/techwithty/loading-bar","last_synced_at":"2025-10-13T21:45:00.365Z","repository":{"id":313140377,"uuid":"1050187645","full_name":"TechWithTy/loading-bar","owner":"TechWithTy","description":"A customizable loading bar component for React applications. Supports progress bars, Lottie animations, and Lucide icon sequences.","archived":false,"fork":false,"pushed_at":"2025-09-04T04:54:42.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-04T06:31:06.808Z","etag":null,"topics":["component","loading","lottie","lucide","progress","react","ui","ux"],"latest_commit_sha":null,"homepage":"https://www.cybershoptech.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TechWithTy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-04T04:37:58.000Z","updated_at":"2025-09-04T04:54:45.000Z","dependencies_parsed_at":"2025-09-04T06:31:09.721Z","dependency_job_id":"0f825cc1-cb38-49b0-8034-4135c001a0cc","html_url":"https://github.com/TechWithTy/loading-bar","commit_stats":null,"previous_names":["techwithty/loading-bar"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/TechWithTy/loading-bar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Floading-bar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Floading-bar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Floading-bar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Floading-bar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechWithTy","download_url":"https://codeload.github.com/TechWithTy/loading-bar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Floading-bar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017053,"owners_count":26085951,"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-10-13T02:00:06.723Z","response_time":61,"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":["component","loading","lottie","lucide","progress","react","ui","ux"],"created_at":"2025-10-13T21:44:55.706Z","updated_at":"2025-10-13T21:45:00.354Z","avatar_url":"https://github.com/TechWithTy.png","language":"TypeScript","readme":"# LoadingBar Component\n\nA flexible loading indicator component that supports three types: progress bar, Lottie animation, and Lucide icons.\n\n## Usage\n\n### Import\n```tsx\nimport LoadingBar from './LoadingBar';\n```\n\n### Props\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n| `progress` | number | **required** | The progress percentage (0-100). |\n| `mode` | 'inline' \\| 'block' | 'block' | The layout mode. Inline mode displays the progress bar and percentage side by side. |\n| `type` | 'progress' \\| 'lottie' \\| 'lucide' | 'progress' | The type of loading indicator. |\n| `lottieSrc` | string | undefined | The path to the Lottie JSON file (required for Lottie type). |\n| `lucideIcons` | React.ReactNode[] | [] | An array of Lucide icon components (required for Lucide type). |\n| `className` | string | '' | Additional CSS classes for the wrapper. |\n\n### Examples\n\n#### Progress Bar (Default)\n```tsx\n\u003cLoadingBar progress={50} /\u003e\n```\n\n#### Lottie Animation\n```tsx\n\u003cLoadingBar \n  progress={75} \n  type=\"lottie\" \n  lottieSrc=\"/path/to/animation.json\" \n/\u003e\n```\n\n#### Lucide Icons\n```tsx\nimport { Loader, RefreshCw } from 'lucide-react';\n\n\u003cLoadingBar \n  progress={25} \n  type=\"lucide\" \n  lucideIcons={[\u003cLoader /\u003e, \u003cRefreshCw /\u003e]} \n/\u003e\n```\n\n## Notes\n- The component uses `next/dynamic` to dynamically import the Lottie player to avoid SSR issues.\n- For the Lucide type, the icon displayed is determined by the current progress percentage and the number of icons provided.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechwithty%2Floading-bar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechwithty%2Floading-bar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechwithty%2Floading-bar/lists"}