{"id":17743125,"url":"https://github.com/julien-r44/unocss-preset-forms","last_synced_at":"2025-10-05T01:51:09.210Z","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":"2025-05-20T00:32:39.000Z","size":706,"stargazers_count":61,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-29T23:30:42.948Z","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,"zenodo":null},"funding":{"github":["julien-r44"],"polar":"Julien-R44"}},"created_at":"2022-09-02T15:14:52.000Z","updated_at":"2025-07-20T20:52:05.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":8,"template":false,"template_full_name":null,"purl":"pkg:github/Julien-R44/unocss-preset-forms","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","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-R44%2Funocss-preset-forms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278399610,"owners_count":25980331,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["preset","tailwind-forms","unocss"],"created_at":"2024-10-26T05:42:42.147Z","updated_at":"2025-10-05T01:51:09.176Z","avatar_url":"https://github.com/Julien-R44.png","language":"TypeScript","funding_links":["https://github.com/sponsors/julien-r44","https://polar.sh/Julien-R44"],"categories":[],"sub_categories":[],"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"}