GithubHelp home page GithubHelp logo

fullstackenviormentss / capital-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cfpb/capital-framework

0.0 2.0 0.0 11.6 MB

The Consumer Financial Protection Bureau's user interface framework

Home Page: https://cfpb.github.io/capital-framework/

License: Creative Commons Zero v1.0 Universal

JavaScript 62.46% Shell 0.21% CSS 34.18% HTML 3.15%

capital-framework's Introduction

Capital Framework Travis npm

The Consumer Financial Protection Bureau's user interface framework.

atomic-component buttons core expandables forms grid
npm npm npm npm npm npm
icons layout notifications pagination tables typography
npm npm npm npm npm npm

Installation

npm install capital-framework

Components can also be installed individually:

npm install cf-buttons
npm install cf-expandables

Project scaffolding

Want some boilerplate? There is a Yeoman generator through the generator-cf project:

npm install -g yo generator-cf
mkdir my-new-project && cd $_
yo cf

Using Less files directly

If you don't want to use the generator-cf Yeoman generator, you can download the Capital Framework source files and import them into your project.

Run npm install capital-framework. This will download Capital Framework to your project's node_modules folder. You can then import the framework into your application's primary Less file:

@import (less) "node_modules/capital-framework/src/capital-framework.less";

// the rest of your stylesheet...

You may want to install individual Capital Framework Components, so that you can leave out things you don't need, or to make it possible to update the components one-at-a-time in the future.

NOTE: Be sure to run the Less files through Autoprefixer, or your compiled Capital Framework CSS will not work perfectly in older browsers.

Contributing

Please view our contribution guidelines.

Open source licensing info

  1. TERMS
  2. LICENSE
  3. CFPB Source Code Policy

capital-framework's People

Contributors

anselmbradford avatar contolini avatar cfarm avatar jimmynotjim avatar cfpbot avatar ascott1 avatar kimberlymunoz avatar scotchester avatar mistergone avatar wpears avatar himedlooff avatar awolfe76 avatar sephcoster avatar virginiacc avatar sebworks avatar niqjohnson avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.