You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

r3d5

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

r3d5

Reusable components for Next.js

latest
npmnpm
Version
2.0.1
Version published
Maintainers
1
Created
Source

r3d5 - Components

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:7335 with your browser to see the result.

Major and Minor Components for UI and Layout and others

It will be updated regularly

RxBtn Component

A custom button component with optional color, font type, and size props.

Usage

Copy code
import RxBtn from './path/to/RxBtn';

// ...

<RxBtn color="red-500" fontType="font-bold" size="py-3 px-6">
  Click me
</RxBtn>

Props

NameTypeDefaultRequiredDescription
colorstringblue-500NoThe background color of the button.
fontTypestringfont-mediumNoThe font type of the button.
sizestringpy-2 px-4NoThe size of the button.
childrenReact.ReactNode-YesThe content of the button.
propsReact.ButtonHTMLAttributes-NoAdditional button props.

Example

import RxBtn from './path/to/RxBtn';

// ...

<RxBtn>Click me</RxBtn>;
import RxBtn from './path/to/RxBtn';

// ...

<RxBtn
	color='red-500'
	fontType='font-bold'
	size='py-3 px-6'
>
	Click me
</RxBtn>;

FAQs

Package last updated on 30 Apr 2023

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