Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@upvest/insignia-buttons

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@upvest/insignia-buttons

A collection of buttons used for primary and secondary actions.

latest
Source
npmnpm
Version
0.5.0
Version published
Maintainers
3
Created
Source

Insignia Buttons

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

This repository is a package of the full insignia repository.

Install

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

$ npm install --save @upvest/insignia-buttons

You can also use yarn. After installing yarn, use this command:

$ yarn add @upvest/insignia-buttons

Usage

The source files included are written in TypeScript (ts), which is compiled to JavaScript modules. You can simply import the portions you need like this:

import { primaryButtonClass } from '@upvest/insignia-buttons'

Documentation

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

{:toc}

Default Button

Use the standard—yet classy—buttonClass for form actions and primary page actions.

When using a <button> element, always specify a type. When using a <a> element, always add role="button" for accessibility.

<button className={buttonClass} type="button">Button button</button>
<a className={buttonClass} href="#url" role="button">Link button</a>

License

Copyright © 2018-present Upvest GmbH. All rights reserved.

See LICENSE in the root directory of this source tree for complete license information.

FAQs

Package last updated on 06 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts