{"id":19356508,"url":"https://github.com/factorial-io/factorial-patterns","last_synced_at":"2025-04-23T10:32:50.570Z","repository":{"id":28099830,"uuid":"116255744","full_name":"factorial-io/factorial-patterns","owner":"factorial-io","description":"A collection of reusable UI patterns","archived":false,"fork":false,"pushed_at":"2022-12-10T12:00:09.000Z","size":6613,"stargazers_count":5,"open_issues_count":150,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T22:01:40.465Z","etag":null,"topics":["css","html","js","pattern-lab"],"latest_commit_sha":null,"homepage":"https://factorial-io.github.io/factorial-patterns/","language":"Twig","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/factorial-io.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-01-04T12:07:39.000Z","updated_at":"2021-02-18T15:26:50.000Z","dependencies_parsed_at":"2022-09-11T16:21:31.063Z","dependency_job_id":null,"html_url":"https://github.com/factorial-io/factorial-patterns","commit_stats":null,"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/factorial-io%2Ffactorial-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/factorial-io%2Ffactorial-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/factorial-io%2Ffactorial-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/factorial-io%2Ffactorial-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/factorial-io","download_url":"https://codeload.github.com/factorial-io/factorial-patterns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249933873,"owners_count":21347751,"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":["css","html","js","pattern-lab"],"created_at":"2024-11-10T07:04:40.958Z","updated_at":"2025-04-23T10:32:45.557Z","avatar_url":"https://github.com/factorial-io.png","language":"Twig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Factorial Patterns\n\nThis repository is a collection of reusable UI patterns.\n\n**Warning: This is heavily work in progress and subject to change.**\n\n## Semantic-versioning policy\n\n- Everything below `1.0.0` should be considered unstable/prerelease. Breaking changes are likely to be introduced at MINOR 0.x.0 level. Do not depend on them in production or use `--exact` version matching. \n- Everthing above `1.0.0` should be conidered stable. Breaking changes will bump MAJOR x.0.0 and new features with backwards compatible API will bump MINOR 0.x.0. \n\n## Patterns\n\n### Components\n\nComponents are distinct UI pieces that can be included and provide their own \ntwig template and accept variables. \n\n* [components-button](https://github.com/factorial-io/factorial-patterns/tree/master/source/_patterns/components/components-button)\n* [components-flex-embed](https://github.com/factorial-io/factorial-patterns/tree/master/source/_patterns/components/components-flex-embed)\n* [components-image](https://github.com/factorial-io/factorial-patterns/tree/master/source/_patterns/components/components-image)\n* [components-image-contain](https://github.com/factorial-io/factorial-patterns/tree/master/source/_patterns/components/components-image-contain)\n* [components-image-cover](https://github.com/factorial-io/factorial-patterns/tree/master/source/_patterns/components/components-image-cover)\n* [components-modal](https://github.com/factorial-io/factorial-patterns/tree/master/source/_patterns/components/components-modal)\n* [components-pagination](https://github.com/factorial-io/factorial-patterns/tree/master/source/_patterns/components/components-pagination)\n* [components-rte](https://github.com/factorial-io/factorial-patterns/tree/master/source/_patterns/components/components-rte)\n\n### Utils \n\nUtils are low-level CSS classes that can be used to build bigger UI parts. Their \ntwig templates are only for demonstration purposes. \n\n* [utils-display-responsive](https://github.com/factorial-io/factorial-patterns/tree/master/source/_patterns/utils/utils-display-responsive)\n* [utils-font](https://github.com/factorial-io/factorial-patterns/tree/master/source/_patterns/utils/utils-font)\n* [utils-font-weight](https://github.com/factorial-io/factorial-patterns/tree/master/source/_patterns/utils/utils-font-weight)\n* [utils-margin](https://github.com/factorial-io/factorial-patterns/tree/master/source/_patterns/utils/utils-margin)\n* [utils-padding](https://github.com/factorial-io/factorial-patterns/tree/master/source/_patterns/utils/utils-padding)\n\n## Installation\n\n### Prerequisites \n\n* [composer](https://getcomposer.org/)\n* [Node.js](https://nodejs.org/en/)\n* [Yarn](https://yarnpkg.com/en/)\n\n### Pattern Lab\n\n    composer install\n\nMerge (m) everything and no (n) to updates.\n\n### Build tools\n\n    yarn install\n\nThis will install all the necessary build tools.\n\n## Build\n\n    yarn run build\n\nThis will build all patterns to `public`.\n\nCaveat: patternlab currently also builds `node_modules` within patterns.\nUse `lerna clean` to remove the dependencies of all patterns.\n\n## Serve\n\n    yarn run dev\n\nView patternlab at http://localhost:8080.\n\n## Deploy\n\n### GitHub Pages\n\n    yarn run deploy\n\nThis will commit the `public` folder and push the `gh-pages` branch.\n\n### npm\n\nLog into npm, then.\n\n    lerna publish \n\nThis will `diff` all packages and ask you about version bumping anything that has \nchanged. SEE: https://github.com/lerna/lerna/#publish\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffactorial-io%2Ffactorial-patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffactorial-io%2Ffactorial-patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffactorial-io%2Ffactorial-patterns/lists"}