1.8.7 • Published 12 months ago
@centml/ui v1.8.7
@centml/ui
Internal React UI component library for CentML
Features
- React UI components
- Accessibility
- Dark mode support
Usage
Install the package from npm:
npm install -D @centml/ui
In your application's Tailwind CSS config, extend your content array with the path to CentML UI. This will ensure all Tailwind utilities required by the library are generated.
/** @type {import('tailwindcss').Config} */
module.exports = {
presets: [],
content: ['./node_modules/@centml/ui/dist/**/*.js'],
theme: {
extend: {}
}
};
Setting up your application
You can import React components, hooks, and TypeScript types from the top-level module:
import { Button, type ButtonProps } from '@centml/ui';
1.8.7
12 months ago
1.8.6
12 months ago
1.8.5
1 year ago
1.8.4
1 year ago
1.8.3
1 year ago
1.8.2
1 year ago
1.8.1
1 year ago
1.8.0
1 year ago
1.7.9
1 year ago
1.7.3
1 year ago
1.7.8
1 year ago
1.7.7
1 year ago
1.7.6
1 year ago
1.7.5
1 year ago
1.7.4
1 year ago
1.7.2
1 year ago
1.7.1
1 year ago
1.7.0
1 year ago
1.6.1
1 year ago
1.6.0
1 year ago
1.5.1
1 year ago
1.5.0
1 year ago
1.4.0
1 year ago
1.3.1
1 year ago
1.3.0
1 year ago
1.2.2
1 year ago
1.2.1
1 year ago
1.2.0
1 year ago
1.1.0
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago