Wondering what’s next for npm?Check out our public roadmap! »

    @coopdigital/foundations-forms

    5.3.1 • Public • Published

    CSS Foundations: Forms

    CSS Foundations module containing style declarations for styling various form fields.

    Installation

    Install via npm or Yarn:

    $ npm install @coopdigital/foundations-forms --save
    # OR
    $ yarn add @coopdigital/foundations-forms

    Usage

    You can include foundations-forms in your project by referencing it from your existing CSS via @import statement, i.e.:

    @import "node_modules/@coopdigital/foundations-forms/dist/forms.css";

    If you use PostCSS in your build pipeline, you can reference the sources directly like so:

    @import "node_modules/@coopdigital/foundations-forms/src/forms.pcss";

    If you use a postcss-import plugin, it gets even easier:

    @import "@coopdigital/foundations-forms";

    Examples

    Here's a bunch of examples, showing how you can integrate this CSS module in your project, based on most popular stacks of project. You can either use a post-processed and pre-built CSS form the dist directory, ot use PostCSS sources from the src dir.

    The latter have certain dependencies, which should be consumed by your frontend toolkit to postprocess the CSS correctly.

    Vue.js

    TBD

    React.js

    TBD

    Development

    TBD

    Keywords

    none

    Install

    npm i @coopdigital/foundations-forms

    DownloadsWeekly Downloads

    461

    Version

    5.3.1

    License

    MIT

    Unpacked Size

    144 kB

    Total Files

    89

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar