Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rmwc/formfield

Package Overview
Dependencies
Maintainers
1
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/formfield

> MDC Form Field provides an mdc-formfield helper class for easily making theme-aware, RTL-aware form field + label combos. It also provides an MDCFormField class for easily making input ripples respond to label events.

  • 14.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.4K
increased by19%
Maintainers
1
Weekly downloads
 
Created
Source

Form Fields

MDC Form Field provides an mdc-formfield helper class for easily making theme-aware, RTL-aware form field + label combos. It also provides an MDCFormField class for easily making input ripples respond to label events.

  • Module @rmwc/formfield
  • Import styles:
    • Using CSS Loader
      • import '@rmwc/formfield/styles';
    • Or include stylesheets
      • '@material/form-field/dist/mdc.form-field.css';
  • MDC Docs: https://material.io/develop/web/components/input-controls/form-fields/

<FormField\>

  <input type\="checkbox" id\="input" />

  <label htmlFor\="input"\>Input Label</label\>

</FormField\>


Align end


<FormField alignEnd\>

  <input type\="checkbox" id\="input" />

  <label htmlFor\="input"\>Input Label</label\>

</FormField\>


No wrap


<FormField noWrap\>

  <input type\="checkbox" id\="input" />

  <label htmlFor\="input"\>Input Label</label\>

</FormField\>


Space between


<FormField spaceBetween\>

  <input type\="checkbox" id\="input" />

  <label htmlFor\="input"\>Input Label</label\>

</FormField\>


FormField

Keywords

FAQs

Package last updated on 30 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc