@cleen/ui-core
v0.1.14
Published
Shared foundation for the Cleen UI library — Tailwind CSS configuration, custom hooks, utilities, and theming primitives used by `@cleen/ui` and `@cleen/ui-pro`.
Downloads
1,258
Keywords
Readme
@cleen/ui-core
Shared foundation for the Cleen UI library — Tailwind CSS configuration, custom hooks, utilities, and theming primitives used by @cleen/ui and @cleen/ui-pro.
Installation
npm install @cleen/ui-coreTailwind Setup
Extend your Tailwind config with the Cleen preset and import the CSS:
// tailwind.config.js
import cleenPreset from '@cleen/ui-core/tailwind-preset';
export default {
presets: [cleenPreset],
};/* your entry CSS */
@import '@cleen/ui-core/tailwind-entry.css';Or import the pre-built stylesheet directly:
import '@cleen/ui-core/styles.css';Note: All Tailwind classes use the
cleen-prefix. Components must be wrapped in a.cleenelement for styles to apply.
Peer Dependencies
react^18.3.1react-dom^18.3.1
