{"id":17531266,"url":"https://github.com/Julien-R44/unocss-preset-forms","last_synced_at":"2025-03-06T10:32:24.758Z","repository":{"id":58540140,"uuid":"531975910","full_name":"Julien-R44/unocss-preset-forms","owner":"Julien-R44","description":"📋 Port of @tailwindcss/forms for UnoCSS.","archived":false,"fork":false,"pushed_at":"2024-06-11T14:44:47.000Z","size":489,"stargazers_count":56,"open_issues_count":2,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-19T11:17:57.510Z","etag":null,"topics":["preset","tailwind-forms","unocss"],"latest_commit_sha":null,"homepage":"","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/Julien-R44.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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":{"github":["julien-r44"],"polar":"Julien-R44"}},"created_at":"2022-09-02T15:14:52.000Z","updated_at":"2024-08-21T16:00:04.000Z","dependencies_parsed_at":"2024-06-18T18:26:19.143Z","dependency_job_id":"e6e728aa-22dc-4541-baf1-d026276c6e94","html_url":"https://github.com/Julien-R44/unocss-preset-forms","commit_stats":{"total_commits":38,"total_committers":5,"mean_commits":7.6,"dds":0.1578947368421053,"last_synced_commit":"6cec4a49c2f2f8fcff75561efab57b0bf0f1b160"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-R44%2Funocss-preset-forms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-R44%2Funocss-preset-forms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-R44%2Funocss-preset-forms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-R44%2Funocss-preset-forms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Julien-R44","download_url":"https://codeload.github.com/Julien-R44/unocss-preset-forms/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":220763373,"owners_count":16699027,"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":["preset","tailwind-forms","unocss"],"created_at":"2024-10-20T17:23:24.127Z","updated_at":"2024-10-20T17:23:27.943Z","avatar_url":"https://github.com/Julien-R44.png","language":"TypeScript","funding_links":["https://github.com/sponsors/julien-r44","https://polar.sh/Julien-R44"],"categories":["TypeScript","Presets","Community"],"sub_categories":["Presets"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/8337858/188330269-7ddfeb8f-54a6-4594-b546-e85a69927e00.png\"\u003e\n\u003c/p\u003e\n\n## Installation\n\n```bash\npnpm install @julr/unocss-preset-forms\n```\n\n## Usage \n\n```ts\n\nimport { defineConfig, presetAttributify, presetUno } from 'unocss'\nimport { presetForms } from '@julr/unocss-preset-forms'\n\nexport default defineConfig({\n  presets: [\n    presetUno(),\n    presetForms(), // Add preflights and new rules likes `.form-input`\n\n    presetForms({\n      strategy: 'class', // Only add new rules likes `.form-input` and not preflights\n    }),\n\n    presetForms({\n      strategy: 'base', // Only add preflights and not new rules\n    }),\n\n  ],\n})\n```\n\nAs this is a 1-1 port of the Tailwind plugin, please consult their documentation for more information: https://github.com/tailwindlabs/tailwindcss-forms\n\n## License\n\n[MIT](./LICENSE.md) License © 2022 [Julien Ripouteau](https://github.com/Julien-R44)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJulien-R44%2Funocss-preset-forms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJulien-R44%2Funocss-preset-forms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJulien-R44%2Funocss-preset-forms/lists"}