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

Package Sidebar

Install

npm i andromeda-buttons

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

1.25 MB

Total Files

4

Last publish

Collaborators

  • forrestgump