npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

andromeda-buttons

0.0.4 • Public • Published

Andromeda Buttons

CircleCI TravisCI version downloads MIT License

Buttons are used for actions, like in forms, while textual hyperlinks are used for destinations, or moving from one page to another.

This repository is a module of the full andromeda repository.

Install

This repository is distributed with npm. After installing npm, you can install andromeda-buttons with this command.

$ npm install --save andromeda-buttons

Explorer

Check out how to use Andromeda Buttons with React 16, Webpack 4 and Babel 7 here

NPM

Get the latest andromeda-buttons here

Usage

You can import it like this.

import { MaterialButton } from 'andromeda-buttons'

Documentation

Buttons allow users to take actions, and make choices, with a single tap.

Andromeda MaterialButtons

Contained buttons are high-emphasis, distinguished by their use of elevation and fill. They contain actions that are primary to your app.

Contained Default MaterialButton

      <MaterialButton
        variant="contained"
        onClick={handleOnClick}
      >
        Default
      </MaterialButton>

Contained Primary MaterialButton

      <MaterialButton
        variant="contained"
        color="primary"
        onClick={handleOnClick}
      >
        Primary
      </MaterialButton>

Contained Secondary MaterialButton

      <MaterialButton
        variant="contained"
        color="secondary"
        onClick={handleOnClick}
      >
        Secondary
      </MaterialButton>

License

MIT © CODE.STΛR

install

npm i andromeda-buttons

Downloadsweekly downloads

0

version

0.0.4

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability