You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@wireapp/react-ui-kit

Package Overview
Dependencies
Maintainers
8
Versions
816
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wireapp/react-ui-kit

9.60.0
Source
npmnpm
Version published
Weekly downloads
1.2K
20.49%
Maintainers
8
Weekly downloads
 
Created
Source

Wire

This repository is part of the source code of Wire. You can find more information at wire.com or by contacting opensource@wire.com.

You can find the published source code at github.com/wireapp.

For licensing information, see the attached LICENSE file and the list of third-party licenses at wire.com/legal/licenses/.

React UI Kit

Installation

yarn

Start Storybook

yarn start

Creating New Components

When creating a new component, follow these guidelines:

  • Choose the Right Category

    • Place your component in the appropriate category folder under src/:
      • DataDisplay/: For data visualization components (tables, lists)
      • Identity/: Design system, theme, colors, etc.
      • Inputs/: For form controls and input elements
      • Layout/: For structural components
      • Navigation/: For navigation-related components
      • Surface/: For containers, cards, modals, and overlays
      • Typography/: For text-related components
      • utils/: For utility components
  • Component Structure Create a new folder for your component with the following files:

    Category/
    └── ComponentName/
        ├── ComponentName.tsx       # Main component file
        ├── ComponentName.stories.tsx  # Storybook stories
        └── index.ts               # Export file
    
  • Component File (ComponentName.tsx)

    • Use TypeScript
    • Include proper type definitions
    • Add JSDoc comments for documentation
    • Follow the existing component patterns
  • Stories File (ComponentName.stories.tsx)

    • Create stories for all component variants
    • Include proper documentation
    • Add controls for interactive props
    • Follow the existing story patterns
  • Index File (index.ts)

    • Export the component
    • Export any types or utilities specific to the component

Example:

// Button.tsx
export interface ButtonProps {
  variant: 'primary' | 'secondary';
  // ... other props
}

export const Button = ({variant, ...props}: ButtonProps) => {
  // Component implementation
};

// Button.stories.tsx
export default {
  title: 'Inputs/Button',
  component: Button,
  // ... story configuration
};

// index.ts
export * from './Button';

Remember to:

  • Follow the existing naming conventions
  • Add proper TypeScript types
  • Include comprehensive stories
  • Document your component thoroughly
  • Test your component thoroughly

FAQs

Package last updated on 19 Jun 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