
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@slice-and-dice/govuk-react-button
Advanced tools
import Button from '@govuk-react/button';
Simple
<Button>My button text</Button>
With Icon
import { ButtonArrow } from '@govuk-react/icons';
<Button icon={<ButtonArrow />}>My button text</Button>
svgreadableColor call, but translate their black to govuk's black| Prop | Required | Default | Type | Description |
|---|---|---|---|---|
buttonColour | undefined | string | Override for default button colour | |
buttonHoverColour | undefined | string | Override for default button hover colour, which defaults to buttonColour darkened by 5% | |
buttonShadowColour | undefined | string | Override for default button shadow colour, which defaults to buttonColour darkened by 15% | |
buttonTextColour | undefined | string | Override for default button text colour, which defaults to govuk white | |
children | true | `````` | node | Button text |
disabled | false | bool | Renders a disabled button and removes pointer events if set to true | |
icon | undefined | node | Button icon | |
start | false | bool | Renders a large button if set to true |
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
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.