{"id":17531281,"url":"https://github.com/StatuAgency/unocss-preset-grid","last_synced_at":"2025-03-06T10:32:21.702Z","repository":{"id":165115468,"uuid":"640348505","full_name":"StatuAgency/unocss-preset-grid","owner":"StatuAgency","description":"UnoCSS Grid preset","archived":false,"fork":false,"pushed_at":"2024-03-19T16:57:40.000Z","size":197,"stargazers_count":24,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-18T17:11:46.199Z","etag":null,"topics":["bootstrap","grid","layout","preset","tailwind","unocss"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/unocss-preset-grid","language":"TypeScript","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/StatuAgency.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-13T19:37:22.000Z","updated_at":"2025-02-01T14:35:34.000Z","dependencies_parsed_at":"2024-01-21T22:53:47.118Z","dependency_job_id":"c7f1e5b5-535e-4697-9f50-f477de22fe08","html_url":"https://github.com/StatuAgency/unocss-preset-grid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StatuAgency%2Funocss-preset-grid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StatuAgency%2Funocss-preset-grid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StatuAgency%2Funocss-preset-grid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StatuAgency%2Funocss-preset-grid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StatuAgency","download_url":"https://codeload.github.com/StatuAgency/unocss-preset-grid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242191605,"owners_count":20087011,"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":["bootstrap","grid","layout","preset","tailwind","unocss"],"created_at":"2024-10-20T17:23:24.493Z","updated_at":"2025-03-06T10:32:21.419Z","avatar_url":"https://github.com/StatuAgency.png","language":"TypeScript","funding_links":[],"categories":["Community","TypeScript","Presets"],"sub_categories":["Presets"],"readme":"\u003ch1 align=\"center\"\u003eGrid Preset for UnoCSS\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  Boostrap 5-like grid system fully compatible with UnoCSS breakpoint system\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://statu.co\"\u003e\u003cimg src=\"https://img.shields.io/badge/Author-Statu-black?style=for-the-badge\" alt=\"Author\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/unocss-preset-grid\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/unocss-preset-grid?style=for-the-badge\" alt=\"Versio\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/StatuAgency/unocss-preset-grid/blob/dev/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/StatuAgency/unocss-preset-grid?sanitize=true\u0026style=for-the-badge\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/unocss-preset-grid\"\u003e\u003cimg src=\"https://img.shields.io/maintenance/yes/2024?style=for-the-badge\" alt=\"Maintained\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## Install\n```sh\n# Using npm\nnpm install unocss-preset-grid\n\n# Using yarn\nyarn add unocss-preset-grid\n\n# Using pnpm\npnpm add unocss-preset-grid\n```\n\n## Usage\n\n```js\n// unocss.config.js\nimport { defineConfig } from 'unocss'\nimport { presetGrid } from 'unocss-preset-grid'\n\nexport default defineConfig({\n  presets: [\n    presetUno(),\n    // ...\n    presetGrid()\n  ]\n})\n```\n\n\u003e **Note**\n\u003e If used with UnoPreset or other similar preset, call `presetGrid()` at the bottom\n\n## Utilities\n\n* .container\n* .container-fluid\n* .row\n* .col\n* .col-(1-12)\n* .col-auto\n* .col-fill\n* .offset-(1-12)\n* .g(x|y)-*\n\n## Type of `GridOptions`\n\n```ts\nexport interface GridOptions {\n  prefix?: string\n  piece?: string\n  gutter?: string\n  columns?: number\n  breakpoints?: Record\u003cstring, string | number\u003e\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStatuAgency%2Funocss-preset-grid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FStatuAgency%2Funocss-preset-grid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStatuAgency%2Funocss-preset-grid/lists"}