Socket
Book a DemoInstallSign in
Socket

@pagedotapp/page-avatar-select

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pagedotapp/page-avatar-select

PageAvatarSelect - A reusable React component

alpha
latest
Source
npmnpm
Version
0.0.0-alpha.12
Version published
Weekly downloads
362
63.8%
Maintainers
0
Weekly downloads
 
Created
Source

PageAvatarSelect

A reusable avatarselect component for React applications.

Installation

npm install @pagedotapp/page-avatar-select

Usage

import { PageAvatarSelect } from "@pagedotapp/page-avatar-select"

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

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

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

Sizes

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

States

<PageAvatarSelect disabled>Disabled</PageAvatarSelect>

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 11 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