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

oxara-component-library

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oxara-component-library

This is a shared component library using React, Vite and Tailwind, the objective of this library is to provide universal components to reduce overhead of development on client projects and increase code quality and test coverage.

  • 0.0.9
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-85.71%
Maintainers
0
Weekly downloads
 
Created
Source

Oxara Component Library

This is a shared component library using React, Vite and Tailwind, the objective of this library is to provide universal components to reduce overhead of development on client projects and increase code quality and test coverage.

Install

yarn

Develop

runs a storybook

yarn storybook

Build

prepares the library for publishing

yarn build

Usage in external Tailwind Projects

This library requires the following peerDependencies: react, react-dom & tailwindcss

There are two properties you need to configure in your tailwind.config.js: preset and content

You will need to import/require the oxara tailwind preset and You will need to add the library to the content property for . This allows the external project the style the components correctly.

// tailwind.config.js
module.exports = {
  presets: [
    require("./node_modules/oxara-component-library/dist/tailwind.preset.cjs"),
  ],
  content: ["./node_modules/oxara-component-library/**/*.{cjs,js,ts}"],
  theme: {
    extend: {},
  },
  plugins: [],
};

FAQs

Package last updated on 11 Nov 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