Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@pagedotapp/page-icon-button

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pagedotapp/page-icon-button

PageIconButton - A reusable React component

latest
Source
npmnpm
Version
0.0.0-alpha.13
Version published
Maintainers
2
Created
Source

PageIconButton

A reusable iconbutton component for React applications.

Installation

npm install @pagedotapp/page-icon-button

Usage

import { PageIconButton } from "@pagedotapp/page-icon-button"

function App() {
	return (
		<PageIconButton variant="primary" size="medium">
			PageIconButton Content
		</PageIconButton>
	)
}

Props

PropTypeDefaultDescription
childrenReact.ReactNode-Component children
classNamestring''Additional CSS class name
variant'default' | 'primary' | 'secondary''default'Component variant
size'small' | 'medium' | 'large''medium'Component size
disabledbooleanfalseDisabled state

Examples

Variants

<PageIconButton variant="default">Default</PageIconButton>
<PageIconButton variant="primary">Primary</PageIconButton>
<PageIconButton variant="secondary">Secondary</PageIconButton>

Sizes

<PageIconButton size="small">Small</PageIconButton>
<PageIconButton size="medium">Medium</PageIconButton>
<PageIconButton size="large">Large</PageIconButton>

States

<PageIconButton disabled>Disabled</PageIconButton>

Styling

The component uses CSS modules for styling. You can override styles by passing a custom className or by targeting the component's CSS classes in your global styles.

Development

To run the component in development mode:

npm run storybook

To run tests:

npm run test

To build the component:

npm run build

Keywords

react

FAQs

Package last updated on 26 Sep 2025

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