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

@mbao01/ui

Package Overview
Dependencies
Maintainers
0
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mbao01/ui

A fully ready-to-consume component library available in different frontend frameworks

  • 0.1.54
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

So here it is, I have gotten really bored creating UI component from scratch for the many projects I work on. It is high time I have a unified component library - so here it is. I have built this to be highly opinionated on certain libraries I love to use like typescript, tailwind, date-fns, and react.

I believe in future this UI component library may extend to meta frameworks like Remix and even Nuxt (and naturally Vue.js as well).

Description

The library is written using React, Tailwind, Typescript and Vite. The library is uncooked which means there is no build step involved which means you'd have to cater for building the components into your library.

Consuming the library

  1. Ensure you have react and typescript install and setup in your project. Then install the library
pnpm add @mbao01/ui

or

npm install @mbao01/ui
  1. Install tailwind - do so by following the installation guide

  2. Configure tailwind

export default {
  content: [
    "node_modules/@mbao01/(common|ui)/src/**/*", // -> ensure to add this to allow tailwind to scan the library for classes
    ...
  ],
  "plugins": [
    ...require("@mbao01/common/plugin"), // -> import the tailwind library plugin
    ...
  ]
}

Keywords

FAQs

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