{"id":31282260,"url":"https://github.com/soenneker/soenneker.quark.fields","last_synced_at":"2026-01-20T17:56:13.646Z","repository":{"id":314531653,"uuid":"1055787340","full_name":"soenneker/soenneker.quark.fields","owner":"soenneker","description":"A series of Blazor Quark components for form inputs.","archived":false,"fork":false,"pushed_at":"2025-09-19T12:34:35.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-20T05:24:11.540Z","etag":null,"topics":["blazor","blazorlibrary","csharp","css","dotnet","elements","field","fields","html","quark","ui","wrapper"],"latest_commit_sha":null,"homepage":"https://soenneker.com","language":"HTML","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/soenneker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"soenneker","buy_me_a_coffee":"soenneker","thanks_dev":"soenneker","ko_fi":"soenneker","patreon":"soenneker"}},"created_at":"2025-09-12T20:02:29.000Z","updated_at":"2025-09-19T12:34:05.000Z","dependencies_parsed_at":"2025-09-13T03:24:16.259Z","dependency_job_id":"295df337-6c40-4eff-ad0c-78c3471b0f53","html_url":"https://github.com/soenneker/soenneker.quark.fields","commit_stats":null,"previous_names":["soenneker/soenneker.quark.fields"],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/soenneker/soenneker.quark.fields","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.quark.fields","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.quark.fields/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.quark.fields/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.quark.fields/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soenneker","download_url":"https://codeload.github.com/soenneker/soenneker.quark.fields/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soenneker%2Fsoenneker.quark.fields/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276689016,"owners_count":25686611,"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-09-24T02:00:09.776Z","response_time":97,"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":["blazor","blazorlibrary","csharp","css","dotnet","elements","field","fields","html","quark","ui","wrapper"],"created_at":"2025-09-24T03:51:34.088Z","updated_at":"2025-09-24T03:51:37.647Z","avatar_url":"https://github.com/soenneker.png","language":"HTML","funding_links":["https://github.com/sponsors/soenneker","https://buymeacoffee.com/soenneker","https://thanks.dev/soenneker","https://ko-fi.com/soenneker","https://patreon.com/soenneker"],"categories":[],"sub_categories":[],"readme":"﻿[![](https://img.shields.io/nuget/v/soenneker.quark.fields.svg?style=for-the-badge)](https://www.nuget.org/packages/soenneker.quark.fields/)\n[![](https://img.shields.io/github/actions/workflow/status/soenneker/soenneker.quark.fields/publish-package.yml?style=for-the-badge)](https://github.com/soenneker/soenneker.quark.fields/actions/workflows/publish-package.yml)\n[![](https://img.shields.io/nuget/dt/soenneker.quark.fields.svg?style=for-the-badge)](https://www.nuget.org/packages/soenneker.quark.fields/)\n[![](https://img.shields.io/badge/Demo-Live-blueviolet?style=for-the-badge\u0026logo=github)](https://soenneker.github.io/soenneker.quark.fields/)\n\n# ![](https://user-images.githubusercontent.com/4441470/224455560-91ed3ee7-f510-4041-a8d2-3fc093025112.png) Soenneker.Quark.Fields\n### A series of Blazor Quark components for form field layouts and structure.\n\n## Installation\n\n```\ndotnet add package Soenneker.Quark.Fields\n```\n\n## Components\n\n### Field\nA layout/structural component that groups a label, input, and optional help/validation messages together in a consistent way. Often used for form rows where you want a label on top/side and the input underneath, styled according to the CSS framework.\n\n### FieldLabel\nA label component that can be associated with form inputs. Supports required indicators and horizontal layout modes.\n\n### FieldBody\nA container component for input elements when using horizontal field layouts.\n\n### FieldHelp\nA component for displaying help text below form inputs.\n\n## Usage\n\n### Basic Field Layout\n```razor\n\u003cField\u003e\n    \u003cFieldLabel For=\"textInput\"\u003eText Input\u003c/FieldLabel\u003e\n    \u003cinput type=\"text\" id=\"textInput\" class=\"form-control\" placeholder=\"Enter text...\" /\u003e\n    \u003cFieldHelp\u003eThis is help text for the text input field.\u003c/FieldHelp\u003e\n\u003c/Field\u003e\n```\n\n### Horizontal Field Layout\n```razor\n\u003cField Horizontal=\"true\"\u003e\n    \u003cFieldLabel For=\"emailInput\" RequiredIndicator=\"true\"\u003eEmail Address\u003c/FieldLabel\u003e\n    \u003cFieldBody\u003e\n        \u003cinput type=\"email\" id=\"emailInput\" class=\"form-control\" placeholder=\"Enter email...\" /\u003e\n        \u003cFieldHelp\u003eWe'll never share your email with anyone else.\u003c/FieldHelp\u003e\n    \u003c/FieldBody\u003e\n\u003c/Field\u003e\n```\n\n### Form Example\n```razor\n\u003cform\u003e\n    \u003cField\u003e\n        \u003cFieldLabel For=\"firstName\" RequiredIndicator=\"true\"\u003eFirst Name\u003c/FieldLabel\u003e\n        \u003cinput type=\"text\" id=\"firstName\" class=\"form-control\" placeholder=\"Enter your first name\" /\u003e\n    \u003c/Field\u003e\n    \n    \u003cField Horizontal=\"true\"\u003e\n        \u003cFieldLabel For=\"newsletter\"\u003eNewsletter\u003c/FieldLabel\u003e\n        \u003cFieldBody\u003e\n            \u003cdiv class=\"form-check\"\u003e\n                \u003cinput type=\"checkbox\" id=\"newsletter\" class=\"form-check-input\" /\u003e\n                \u003clabel for=\"newsletter\" class=\"form-check-label\"\u003eSubscribe to our newsletter\u003c/label\u003e\n            \u003c/div\u003e\n            \u003cFieldHelp\u003eGet updates about new products and special offers.\u003c/FieldHelp\u003e\n        \u003c/FieldBody\u003e\n    \u003c/Field\u003e\n\u003c/form\u003e\n```\n\n## Features\n\n- **Layout Support**: Both vertical and horizontal field layouts\n- **Required Indicators**: Visual indicators for required fields\n- **Help Text**: Consistent styling for help text\n- **Bootstrap 5 Compatible**: Uses Bootstrap 5 CSS classes for consistent styling\n- **Quark Components**: Built using Quark.Divs, Quark.Labels, and Quark.Spans for consistency\n- **Built-in Styling**: Components include default spacing and styling that can be overridden\n- **Accessibility**: Proper label associations and semantic HTML structure\n\n## CSS Classes and Default Styling\n\nThe components use Bootstrap 5 CSS classes with built-in default styling:\n\n- **Field**: `form-group` (base), `row` (horizontal)\n  - Default: `margin-bottom: 1.5rem`\n  - Horizontal: `display: flex; align-items: flex-start; gap: 1rem`\n- **FieldLabel**: `form-label` (base), `col-form-label` (horizontal)\n  - Default: `margin-bottom: 0.5rem; font-weight: 500`\n  - Horizontal: `padding-top: calc(0.375rem + 1px); padding-bottom: calc(0.375rem + 1px); margin-bottom: 0; font-weight: 500`\n- **FieldBody**: No classes (Bootstrap 5 doesn't require them)\n- **FieldHelp**: `form-text text-muted`\n  - Default: `margin-top: 0.25rem; font-size: 0.875em`\n\nAll default styling can be overridden by passing custom `Style` or `Class` parameters to the components.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoenneker%2Fsoenneker.quark.fields","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoenneker%2Fsoenneker.quark.fields","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoenneker%2Fsoenneker.quark.fields/lists"}