https://github.com/timkelty/suitcss-components-form-field
https://github.com/timkelty/suitcss-components-form-field
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/timkelty/suitcss-components-form-field
- Owner: timkelty
- Created: 2015-12-17T15:42:34.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-17T15:42:38.000Z (over 10 years ago)
- Last Synced: 2025-02-15T23:43:15.927Z (over 1 year ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `FormField`
## Decendants
* `FormField-label`
* `FormField-input` (text-like inputs)
* `FormField-inputPrefix`
* `FormField-inputSuffix`
* `FormField-radio`
* `FormField-radio`
* `FormField-dropdown`
* `FormField-option` name?
* `FormField-optionLabel` name?
* `FormField-message` (should this just be FormField-error)
## Modifiers
* `FormField--stacked` (stacked by default, but this will apply margins)
* `FormField--inline`
* `FormField--floatLabel`
* `FormField-message--error`
## States
* `.is-error`
* `.is-disabled`
```html
My Floating Label
Some heading for a checkbox, if desired.
Single Checkbox...Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent vehicula faucibus leo id pellentesque. Proin eu malesuada massa. Vivamus commodo rhoncus luctus. Morbi at nibh nisl, sed hendrerit augue.
Group Label
```