
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
@emryui/react-button
Advanced tools
Supercharge your frontend development
A highly configurable React button component. Includes stunning default styles or style it to suit your own design system.
$ yarn add @emryui/react-button
# or
$ npm install @emryui/react-button
If you want to use the default styles (e.g. colors), you also need to install the @emryui/presets package:
$ yarn add @emryui/presets
# or
$ npm install @emryui/presets
module.exports = {
presets: [
require("@emryui/presets"),
// ...other presets
],
content: ["./node_modules/@emryui/react-button/**/*.{js,ts,jsx,tsx,mdx}"],
// ...other Tailwind CSS configuration
};
Import the Button component and use it in your React application
import { Button } from "@emryui/react-button";
// Example usage:
<Button size="md" variant="primary" onClick={handleClick}>
Click me
</Button>
| Prop | Type | Options |
|---|---|---|
| size | ButtonSize | sm, md, lg, xl, 2xl |
| children | ReactNode | N/A |
| disabled | boolean | true, false |
| type | string | submit, reset, button |
| variant | ButtonVariant | primary, secondary, secondary color, tertiary, tertiary color, link, link color |
| addClassNames | string | N/A |
| removeClassNames | string | N/A |
| className | string | N/A |
| transition | ButtonTransitionSpeed | fast, subtle, slow, none |
| destructive | boolean | true, false |
| dot | boolean | true, false |
| as | keyof JSX.IntrinsicElements | N/A |
| headless | boolean | true, false |
| icon | boolean | true, false |
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
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.