{"id":15502739,"url":"https://github.com/johno/ember-flex-grid","last_synced_at":"2025-04-22T23:15:16.444Z","repository":{"id":24832148,"uuid":"28246808","full_name":"johno/ember-flex-grid","owner":"johno","description":"Ember components for a responsive, mobile-first grid system based on flex.","archived":false,"fork":false,"pushed_at":"2015-02-22T18:18:48.000Z","size":207,"stargazers_count":6,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-22T23:15:09.146Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/johno.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":"2014-12-19T21:22:23.000Z","updated_at":"2018-04-04T13:23:54.000Z","dependencies_parsed_at":"2022-08-30T02:40:28.967Z","dependency_job_id":null,"html_url":"https://github.com/johno/ember-flex-grid","commit_stats":null,"previous_names":["johnotander/ember-flex-grid"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fember-flex-grid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fember-flex-grid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fember-flex-grid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fember-flex-grid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johno","download_url":"https://codeload.github.com/johno/ember-flex-grid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250337950,"owners_count":21414104,"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":[],"created_at":"2024-10-02T09:10:55.722Z","updated_at":"2025-04-22T23:15:16.426Z","avatar_url":"https://github.com/johno.png","language":"JavaScript","readme":"# Ember Flex Grid\n\n[![Build Status](https://travis-ci.org/johnotander/ember-cli-rework.svg?branch=master)](https://travis-ci.org/johnotander/ember-cli-rework)\n\nEmber components for a responsive, mobile-first grid system based on flex.\n\n## Installation\n\n```\nnpm install --save-dev ember-flex-grid\n```\n\n## Usage\n\nNow, you can use the grid with the following:\n\n```hbs\n{{#flex-grid}}\n  {{#flex-grid-row}}\n    {{#flex-grid-item columns=2}}\n      {{! ... }}\n    {{/flex-grid-item}}\n    {{#flex-grid-item columns=10}}\n      {{! ... }}\n    {{/flex-grid-item}}\n  {{/flex-grid-row}}\n  {{#flex-grid-row}}\n    {{#flex-grid-item columns=12}}\n      {{#flex-grid-row}}\n        {{#flex-grid-item columns=4}}\n          With\n        {{/flex-grid-item}}\n        {{#flex-grid-item columns=4}}\n          Nested\n        {{/flex-grid-item}}\n        {{#flex-grid-item columns=4}}\n          Grids\n        {{/flex-grid-item}}\n    {{/flex-grid-item}}\n  {{/flex-grid-row}}\n{{/flex-grid}}\n```\n\nUsing the viewport options:\n\n```hbs\n{{#flex-grid}}\n  {{#flex-grid-row}}\n    {{#flex-grid-item columns=2 viewport='sm'}}\n      2\n    {{/flex-grid-item}}\n    {{#flex-grid-item columns=10 viewport='sm'}}\n      10\n    {{/flex-grid-item}}\n  {{/flex-grid-row}}\n{{/flex-grid}}\n```\n\n## TODO\n\n- [X] Viewport support\n- [ ] Improve viewport support, so one can set column numbers for multiple viewport sizes\n- [X] Update flex grid CSS\n- [ ] Use prefixed CSS\n\n## Development\n\n### Installation\n\n* `git clone` this repository\n* `npm install`\n* `bower install`\n\n### Running\n\n* `ember server`\n* Visit your app at http://localhost:4200.\n\n### Running Tests\n\n* `ember test`\n* `ember test --server`\n\n### Building\n\n* `ember build`\n\nFor more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).\n\n## License\n\nMIT\n\n## Contributing\n\n1. Fork it\n2. npm install\n3. bower install\n4. Create your feature branch (`git checkout -b my-new-feature`)\n5. Commit your changes (`git commit -am 'Add some feature'`)\n6. Push to the branch (`git push origin my-new-feature`)\n7. Create new Pull Request\n\nCrafted with \u003c3 by [John Otander](http://johnotander.com).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fember-flex-grid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohno%2Fember-flex-grid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fember-flex-grid/lists"}