Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@droz-js/visu

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@droz-js/visu

A library to use for coaktion projects!

  • 3.6.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
3
Weekly downloads
 
Created
Source

Visu

CI/CD visu

Visu is a component library and design system developed for Coaktion products. The library uses Vite for development and build, React for components and Tailwindcss for the design system.

Installing

Install the library in a React project with the command

npm install @droz-js/visu

Configuration

Visu is built using Tailwind CSS as a basis for styling components, making it work in different environments. Based on this, there are 2 ways to install Visu to your project:

Project WITH Tailwindcss

To use in projects WITH Tailwindcss it is necessary to import the styling of @droz-js/visu/dist/theme-plugin as a plugin and @droz-js/visu/dist/visu.es.js needs to be added to content in your tailwind.config.js file.

// tailwind.config.ts
import VisuTailwindcssPlugin from '@droz-js/visu/dist/theme-plugin'

export default {
  content: ['./node_modules/@droz-js/visu/dist/visu.es.js'],
  plugins: [VisuTailwindcssPlugin],
}

Project WITHOUT Tailwindcss

To use in projects WITHOUT Tailwindcss, you need to import the styling from @droz-js/visu/styles into your global styles file.

// global.css
import '@droz-js/visu/styles'

Using

Once the library is configured, simply import a component and add it to the project.

import { Component } from '@droz-js/visu'

function App() {
  return <Component>...</Component>
}

export default App

License

Copyright

Keywords

FAQs

Package last updated on 08 May 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc