
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@mbao01/ui
Advanced tools
A fully ready-to-consume component library available in different frontend frameworks
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).
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.
pnpm add @mbao01/ui
or
npm install @mbao01/ui
Install tailwind - do so by following the installation guide
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
...
]
}
FAQs
A fully ready-to-consume component library available in different frontend frameworks
We found that @mbao01/ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.