
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@pagedotapp/page-avatar-select
Advanced tools
A reusable avatarselect component for React applications.
npm install @pagedotapp/page-avatar-select
import { PageAvatarSelect } from "@pagedotapp/page-avatar-select"
function App() {
return (
<PageAvatarSelect variant="primary" size="medium">
PageAvatarSelect Content
</PageAvatarSelect>
)
}
Prop | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | - | Component children |
className | string | '' | Additional CSS class name |
variant | 'default' | 'primary' | 'secondary' | 'default' | Component variant |
size | 'small' | 'medium' | 'large' | 'medium' | Component size |
disabled | boolean | false | Disabled state |
<PageAvatarSelect variant="default">Default</PageAvatarSelect>
<PageAvatarSelect variant="primary">Primary</PageAvatarSelect>
<PageAvatarSelect variant="secondary">Secondary</PageAvatarSelect>
<PageAvatarSelect size="small">Small</PageAvatarSelect>
<PageAvatarSelect size="medium">Medium</PageAvatarSelect>
<PageAvatarSelect size="large">Large</PageAvatarSelect>
<PageAvatarSelect disabled>Disabled</PageAvatarSelect>
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.
To run the component in development mode:
npm run storybook
To run tests:
npm run test
To build the component:
npm run build
FAQs
PageAvatarSelect - A reusable React component
The npm package @pagedotapp/page-avatar-select receives a total of 359 weekly downloads. As such, @pagedotapp/page-avatar-select popularity was classified as not popular.
We found that @pagedotapp/page-avatar-select demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.