React UI component library with DaisyUI (prefixed classes)
npm install @aster-ui/prefixedReact UI component library with DaisyUI - prefixed version.
This package is identical to asterui but uses prefixed DaisyUI classes (d-btn, d-card, etc.) to avoid conflicts with other CSS frameworks or custom styles.
``bash`
npm install @aster-ui/prefixedor
pnpm add @aster-ui/prefixed
When using this package, you must configure DaisyUI to use the d- prefix in your CSS:
`css`
@import "tailwindcss";
@plugin "daisyui" {
prefix: "d-";
}
`tsx
import { Button, Card } from '@aster-ui/prefixed'
function App() {
return (
)
}
`
The components will automatically use the prefixed DaisyUI classes internally (e.g., d-btn, d-card`).