
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@upvest/insignia-buttons
Advanced tools
A collection of buttons used for primary and secondary actions.
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.
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
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'
Buttons are used for actions, e.g., in forms, while textual hyperlinks are used for destinations, or moving from one page to another.
{:toc}
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>
Copyright © 2018-present Upvest GmbH. All rights reserved.
See LICENSE in the root directory of this source tree for complete license information.
FAQs
Did you know?
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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.