An updated Button component in WordPress 5.4

An updated Button component in WordPress 5.4

Author: WordPress.org

Date: February 13, 2020 

Category: Make WordPress Core

(advertorial)

wprssaggregator An updated Button component in WordPress 5.4

The Button component is a central piece of any Design System. As the WordPress design system implemented by the @wordpress/components package matures, its set of components get updated to gain in consistency and coherence. In WordPress 5.4, the Button component has been enhanced with several changes and additions.

Capture d%E2%80%99e%CC%81cran 2020 02 13 a%CC%80 10.14.14 AM An updated Button component in WordPress 5.4Button sizes

To align with the overall design direction of the project, the button default height has been increased and is equal to 36px. This means the previous isLarge prop variation is unnecessary

This is the first part of the original article by WordPress.org.
Click here to read the full article in a new tab!

(advertorial)

toolset logo tag line white An updated Button component in WordPress 5.4

An updated Button component in WordPress 5.4

World of WordPress is hosted by:

Servebolt: next level high performance hosting.

While others try to add more components to their hosting to make it go faster, we decided to build our hosting cloud fast from the ground up. We did so by stripping out everything we knew was deadweight.