Socket
Book a DemoInstallSign in
Socket

@design-atlas/react

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

@design-atlas/react

React components for Design Atlas design system

0.1.2
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

@design-atlas/react

React components for Design Atlas.

Installation

pnpm add @design-atlas/react

Usage

import { Button } from '@design-atlas/react';

function App() {
  return (
    <div>
      <Button variant="primary" size="medium" onClick={() => console.log('clicked')}>
        Click me
      </Button>
      
      <Button variant="secondary" size="small">
        Secondary Button
      </Button>
      
      <Button variant="outline" size="large" disabled>
        Disabled Button
      </Button>
    </div>
  );
}

Components

Button

A versatile button component with multiple variants and sizes.

Props

  • children: React node to render inside the button
  • variant: Button style variant ('primary' | 'secondary' | 'outline')
  • size: Button size ('small' | 'medium' | 'large')
  • disabled: Whether the button is disabled
  • onClick: Click event handler
  • type: Button type ('button' | 'submit' | 'reset')
  • className: Additional CSS classes

Variants

  • Primary: Blue background with white text
  • Secondary: Gray background with white text
  • Outline: Transparent background with border

Sizes

  • Small: Compact padding and small text
  • Medium: Standard padding and text size
  • Large: Generous padding and large text

Development

This package uses TypeScript and is built as an ES module. Components are styled with utility classes that can be customized with Tailwind CSS or similar frameworks.

Keywords

react

FAQs

Package last updated on 22 Aug 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.