{"id":28711170,"url":"https://github.com/leafsphp/zero-ui","last_synced_at":"2026-02-17T09:36:47.344Z","repository":{"id":269672769,"uuid":"887568268","full_name":"leafsphp/zero-ui","owner":"leafsphp","description":"🎨 Zero UI is a collection of components and UI blocks powered by Alpine, Leaf and Tailwind","archived":false,"fork":false,"pushed_at":"2024-12-26T20:36:14.000Z","size":319,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-06T13:43:40.198Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/leafsphp.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},"funding":{"open_collective":"leaf","github":"leafsphp"}},"created_at":"2024-11-12T22:41:08.000Z","updated_at":"2024-12-26T20:36:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"fee1ae48-007b-4b2c-85df-acc41efb4300","html_url":"https://github.com/leafsphp/zero-ui","commit_stats":null,"previous_names":["leafsphp/zero-ui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leafsphp/zero-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafsphp%2Fzero-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafsphp%2Fzero-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafsphp%2Fzero-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafsphp%2Fzero-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leafsphp","download_url":"https://codeload.github.com/leafsphp/zero-ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafsphp%2Fzero-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29539146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T08:11:05.436Z","status":"ssl_error","status_checked_at":"2026-02-17T08:09:38.860Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-14T21:39:43.146Z","updated_at":"2026-02-17T09:36:47.322Z","avatar_url":"https://github.com/leafsphp.png","language":"PHP","readme":"# Leaf Zero\n\nLeaf Zero is a carefully crafted group of components, page sections, UI blocks and application scaffold, fully charged with Alpine, Leaf and Tailwind that will help you build your frontend in no time, leaving you to focus on all the interesting parts of your application.\n\n\u003c!-- Zero has free components which are available for download on the [Leaf Zero GitHub repository](https://github.com/leafsphp/zero) and premium components which you can use by subscribing to [Leaf Zero](https://zero.leafphp.com/). --\u003e\n\n## UI Components\n\nZero comes with a variety of everyday components like buttons, cards, modals, forms, and more. These components are designed to be easy to use and customize, but also to look great out of the box. They have different styles and colors to fit your application's design.\n\n```php\nButton([\n  'href' =\u003e '/login',\n  'variant' =\u003e 'text',\n  'text' =\u003e 'Sign In'\n]);\n```\n\n## Page Sections/UI Blocks\n\nZero also comes with a variety of page sections and UI blocks which have been componentized to make them flexible and easy to use in your application. These include headers, footers, hero sections, feature sections, and more.\n\n```php\nHero([\n  'title' =\u003e 'Plan your next trip Supafast...',\n  'subtitle' =\u003e 'Get the best deals on flights, hotels, and car rentals.',\n  'buttons' =\u003e [\n    Button([\n      'href' =\u003e '/subscribe',\n      'text' =\u003e 'Subscribe to TripifyX',\n    ]),\n    Button([\n      'icon' =\u003e '→',\n      'href' =\u003e '/login',\n      'variant' =\u003e 'outline',\n      'text' =\u003e 'Sign In',\n    ]),\n  ],\n]);\n```\n\n## Leaf powered\n\nZero components and UI blocks are powered by Leaf, which means that every section will have a full integration and will work as expected right out of the box. Things like form submissions, login, sign up, newsletter subscriptions, blog posts, and more are all built-in and ready to use.\n\n```php\nForm([\n  'action' =\u003e '/subscribe',\n  'method' =\u003e 'POST',\n  'fields' =\u003e [\n    Input([\n      'name' =\u003e 'email',\n      'label' =\u003e 'Email',\n      'placeholder' =\u003e 'Enter your email',\n      'required' =\u003e true,\n    ]),\n    Button([\n      'text' =\u003e 'Subscribe',\n    ]),\n  ],\n]);\n```\n\n```php\nLoginPage_Premium_112([\n  'title' =\u003e 'Sign In',\n  'layout' =\u003e 'center',\n  'form' =\u003e Form([\n    'action' =\u003e '/login',\n    'method' =\u003e 'POST',\n    'fields' =\u003e [\n      Input([\n        'name' =\u003e 'email',\n        'label' =\u003e 'Email',\n        'placeholder' =\u003e 'Enter your email',\n        'required' =\u003e true,\n      ]),\n      Input([\n        'name' =\u003e 'password',\n        'label' =\u003e 'Password',\n        'type' =\u003e 'password',\n        'placeholder' =\u003e 'Enter your password',\n        'required' =\u003e true,\n      ]),\n      Button([\n        'text' =\u003e 'Sign In',\n      ]),\n    ],\n  ]),\n]);\n```\n","funding_links":["https://opencollective.com/leaf","https://github.com/sponsors/leafsphp"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafsphp%2Fzero-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleafsphp%2Fzero-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafsphp%2Fzero-ui/lists"}