Princey UI Component Installation
To start using Princey UI in your project, follow these steps to install and configure the library. The installation process is straightforward and can be completed using your preferred package manager. This guide will cover the installation for both React and Next.js projects, along with optional configurations.
Step 1: Install Princey UI
You can install Princey UI using npm, yarn, pnpm, or bun. Choose the package manager you're comfortable with and run the corresponding command in your project directory:
npm install princey
Step 3: Import and Use Princey UI Components
After installation, you can start using Princey UI components in your project. Import the components you need and include them in your UI:
import { Button } from "princey";
function App() {
return (
<div>
<Button variant="primary">Click Me</Button>
</div>
);
}
export default App;