@codedrop/form

form component

Usage no npm install needed!

<script type="module">
  import codedropForm from 'https://cdn.skypack.dev/@codedrop/form';
</script>

README

@codedrop/form

npm

form styles.

Installation

npm install @codedrop/form --save-dev

How to use

CSS

  • PostCSS workflow: @import '@codedrop/form';
  • Native CSS: @import url('dist/form.css');
  • Link tag: <link href="dist/form.css" rel="stylesheet" type="text/css">

Developer notes

To use with default values:

@import '@codedrop/form';

To override variables in a project:

@import '@codedrop/constants';

@import 'path/to/local/project/vars.css';

@import '@codedrop/form/src/_form.css';

.form {
  /* Overrides */
}