david-roper / libui

Generic UI components for DNP projects, built using React and TailwindCSS

Home Page:https://douglasneuroinformatics.github.io/libui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo

@douglasneuroinformatics/libui

Generic UI components for DNP projects, built using React and TailwindCSS
Explore the docs »

Report Bug · Request Feature

license version codecov


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.

About

Generic UI components for DNP projects, built using React and TailwindCSS

https://douglasneuroinformatics.github.io/libui/

License:GNU Lesser General Public License v3.0


Languages

Language:TypeScript 97.5%Language:JavaScript 1.7%Language:CSS 0.6%Language:HTML 0.1%Language:Shell 0.1%