🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@dfx.swiss/react-components

Package Overview
Dependencies
Maintainers
2
Versions
430
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dfx.swiss/react-components

React UI components for DFX.swiss

latest
Source
npmnpm
Version
1.3.2
Version published
Maintainers
2
Created
Source

React Components

React UI components for DFX.swiss

To test the components in a project, you can use npm link to link the local package to the project.

  • To avoid conflicts with the package name, you can change the package name in the package.json file, e.g. to 'react-components-local'
  • Build the packages using npm run build in the root directory.
  • Link the package using npm link in the package directory, i.e. cd packages/react-components && npm link.
  • In the project where you want to test the package, link the package using npm link <package-name>, i.e. npm link react-components-local.
  • Import the component in the project using the package name, e.g. import { StyledTabContentWrapper } from 'react-components-local'.
  • To unlink the package, use npm unlink <package-name>.

Note that at any time you can view linked packages using npm ls --global --depth=0 --link=true. When you're done, remember to revert the package name in the package.json file.

FAQs

Package last updated on 29 Apr 2026

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