Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zendeskgarden/css-buttons

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zendeskgarden/css-buttons

Garden component CSS

  • 7.0.13
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
433
decreased by-7.48%
Maintainers
1
Weekly downloads
 
Created
Source

@zendeskgarden/css-buttons npm version

This package contains basic .c-btn component styling.

Installation

npm install @zendeskgarden/css-buttons

Usage

Once installed, button CSS can be accessed via postcss-import.

@import '@zendeskgarden/css-buttons';

Button CSS is intended to enhance the following HTML.

<button class="c-btn">CLICK ME</button>

Accessibility

If you are unable to use a native HTML <button>, be sure to add the appropriate role attribute.

<a class="c-btn" href="#" role="button">LINK BUTTON</a>

Also note that the element must be able to receive focus and can be activated using either the enter or space keys. Conversely, a disabled button should not be able to receive focus.

<a class="c-btn is-disabled" href="#" role="button" tabindex="-1">DISABLED LINK BUTTON</a>

Modifications

See http://zendeskgarden.github.io/css-components/buttons/ for various button modification classes.

Behavior

See the <Button> component for intended keyboard & blur-on-mouseup behavior.

Keywords

FAQs

Package last updated on 23 Sep 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc