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

@clayui/button

Package Overview
Dependencies
Maintainers
16
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clayui/button

ClayButton component

  • 3.39.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.9K
increased by7.92%
Maintainers
16
Weekly downloads
 
Created
Source

title: 'Buttons' description: 'Buttons communicate an action to happen on user interaction.' lexiconDefinition: 'https://liferay.design/lexicon/core-components/buttons/' packageNpm: '@clayui/button'

import { ButtonDisplayTypes, ButtonGroup, ButtonIcon, } from '$packages/clay-button/docs/index';

Display Types

You can determine how your button can be displayed using the displayType property:

Set displayType to unstyled to reset all the stylings from Bootstrap 4.

If you want use the button as a link set displayType to link.

Group

You can use the variant ClayButton.Group for creating button groups:

Use the spaced property to create spacing between buttons.

Icon

You can use the high-level component ClayButtonWithIcon to create a button with only an icon. If you need an icon and text, you need to compose with ClayIcon

Keywords

FAQs

Package last updated on 29 Oct 2021

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