@douglasneuroinformatics/libui
v2.5.1
Published
Generic UI components for DNP projects, built using React and TailwindCSS
Downloads
1,656
Readme
About
A React component library built by the Douglas Neuroinformatics Platform (DNP) using shadcn/ui with React and TailwindCSS. Although primarily intended for internal use in our platforms, it is designed as a generic implementation.
Installation
pnpm install @douglasneuroinformatics/libui
Usage
tailwind.config.cjs
const baseConfig = require('@douglasneuroinformatics/libui/tailwind.config.cjs');
/** @type {import('tailwindcss').Config} */
module.exports {
content: [...baseConfig.content, './src/**/*.{js,ts,jsx,tsx}'],
presets: [baseConfig]
};
Contributing
We welcome contributions! If you're interested in improving the library or adding new features, please refer to our contribution guide.
License
Copyright (C) 2024 Douglas Neuroinformatics Platform
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.