{"id":13490989,"url":"https://github.com/Andy-set-studio/boilerform","last_synced_at":"2025-03-28T07:31:41.555Z","repository":{"id":135660156,"uuid":"109529036","full_name":"Andy-set-studio/boilerform","owner":"Andy-set-studio","description":"Boilerform is a little HTML and CSS boilerplate to take the pain away from working with forms.","archived":true,"fork":false,"pushed_at":"2019-11-12T23:11:52.000Z","size":197,"stargazers_count":712,"open_issues_count":4,"forks_count":35,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-01-17T22:35:44.211Z","etag":null,"topics":["base","bem","boilerplate","forms","reset","scss"],"latest_commit_sha":null,"homepage":"https://boilerform.hankchizljaw.com","language":"CSS","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/Andy-set-studio.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-11-04T20:47:35.000Z","updated_at":"2024-11-11T15:50:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"31ce57cd-b0e1-4cc8-a6d6-290173680a0f","html_url":"https://github.com/Andy-set-studio/boilerform","commit_stats":null,"previous_names":["hankchizljaw/boilerform"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andy-set-studio%2Fboilerform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andy-set-studio%2Fboilerform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andy-set-studio%2Fboilerform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andy-set-studio%2Fboilerform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Andy-set-studio","download_url":"https://codeload.github.com/Andy-set-studio/boilerform/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245989190,"owners_count":20705776,"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":["base","bem","boilerplate","forms","reset","scss"],"created_at":"2024-07-31T19:00:52.637Z","updated_at":"2025-03-28T07:31:41.547Z","avatar_url":"https://github.com/Andy-set-studio.png","language":"CSS","funding_links":[],"categories":["CSS","📦 Legacy \u0026 Inactive Projects"],"sub_categories":[],"readme":"# Boilerform\n\n\u003cimg src=\"https://s3-us-west-2.amazonaws.com/s.cdpn.io/174183/share.png\" style=\"max-width: 100%\" alt=\"The Boilerform logo\" /\u003e\n\nBoilerform is a little HTML and CSS boilerplate to take the pain away from working with forms.\n\nBy providing baseline BEM structured CSS and appropriate attributes on elements: Boilerform gives you a head start building forms in the best possible way with a view to being dropped into most projects.\n\nThe idea was first thought-up by [@chriscoyier](https://twitter.com/chriscoyier) on [CSS Tricks](https://css-tricks.com/boilerform).\n\n🌍 \u003chttps://boilerform.hankchizljaw.com\u003e\n\n\n## Getting started\nBoilerform is designed to be straight-forward to implement. In its most basic form, you can drop a CSS file into your head with the following snippet:\n\n```html\n\u003clink rel=\"stylesheet\" media=\"all\" href=\"https://cdn.jsdelivr.net/gh/hankchizljaw/boilerform@master/dist/css/boilerform.min.css?v=1.1.1\" /\u003e\n```\n\nThen all you need to do is wrap your elements in a `.boilerform` wrapper. It could be something like this:\n\n```html\n\u003cdiv class=\"boilerform\"\u003e\n    \u003c!-- Add all of your boilerform elements in here 👍 --\u003e\n\u003c/div\u003e\n```\n\nYou can also take compiled CSS and HTML from the [dist directory](https://github.com/hankchizljaw/boilerform/tree/master/dist/) of this repository, if that's what you prefer.\n\nIf you want a bit more control, you can work with the [Sass](https://github.com/hankchizljaw/boilerform/tree/master/assets/scss) and [Pattern Library](https://github.com/hankchizljaw/boilerform/tree/master/pattern-library). This is where the source of Boilerform lives.\n\nTo compile assets, you can run the following commands in your terminal:\n\n- `npm run watch` will compile your assets and watch for further changes\n- `npm run build` will compile your assets into a production ready state in the `dist` directory\n\nThe pattern library is powered by [Astrum](http://astrum.nodividestudio.com/). You can find [detailed documentation here](https://github.com/NoDivide/Astrum).\n\n## Validation interface\n\nThere's a basic validation interface available with Boilerform which extends the native HTML validation facility with a few visual tweaks.\n### Getting started\n\nFirst of all, you need the JavaScript in your project. You can either take the [source code](https://github.com/hankchizljaw/boilerform/blob/master/assets/js/modules/validation.js) and add to your project, or add the dist version to bottom of your page.\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/gh/hankchizljaw/boilerform@master/dist/js/boilerform.min.js?v=1.1.1\" async defer\u003e\u003c/script\u003e\n```\n\nNow that you've got the script, it'll work, as long as your elements have the `required` attribute, which will allow them to fire an `invalid` event. You'll also need to make sure your `\u003cform\u003e` elements either live in a `.boilerform` parent element or have the `.boilerform` class.\n\n---\n\nMade with ❤️ by [HankChizlJaw](https://twitter.com/hankchizljaw) and [friends](https://github.com/hankchizljaw/boilerform/graphs/contributors).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAndy-set-studio%2Fboilerform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAndy-set-studio%2Fboilerform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAndy-set-studio%2Fboilerform/lists"}