Skip to content

priyanshu09102003/APEX-UI_An_opensource_Component_Library

Repository files navigation

Apex UI - An Open Source Components Library for Modern Applications

Apex UI Banner

Installation

Getting started with Apex UI

1. Install utilities

All components use Tailwind CSS v4 and shadcn/ui, so ensure it's installed in your project. Many components also use the cn utility function—install it with the following command if you don't have it:

bun npx pnpm
bunx shadcn@latest add https://apexui-kappa.vercel.app/r/utils.json
npx shadcn@latest add https://apexui-kappa.vercel.app/r/utils.json
pnpm dlx shadcn@latest add https://apexui-kappa.vercel.app/r/utils.json

2. That's it 🎉

We use lucide-icons for most components that include icons, along with some shadcn/ui components. These dependencies will be automatically installed when using the CLI.

For example to add card-05 to your project, it will be easy as:

bun npx pnpm
bunx shadcn@latest add https://apexui-kappa.vercel.app/r/card-05.json
npx shadcn@latest add https://apexui-kappa.vercel.app/r/card-05.json
pnpm dlx shadcn@latest add https://apexui-kappa.vercel.app/r/card-05.json

While we provide a convenient 'copy' button for the code, we strongly recommend using the CLI for installing components, as it ensures all necessary files are included.

Add to your page and it works!

import Card05 from "@/components/apexUi/card-05";

export default function Page() {
  return <Card05 />;
}

3. Blocks

Blocks are a set of components to make a complete blocks, they contain multiples files. To install them it is mandatory to use the cli. For example it you'd like to install ai-card-generation block:

bun npx pnpm
bunx shadcn@latest add https://apexui-kappa.vercel.app/r/ai-card-generation.json
npx shadcn@latest add https://apexui-kappa.vercel.app/r/ai-card-generation.json
pnpm dlx shadcn@latest add https://apexui-kappa.vercel.app/r/ai-card-generation.json

Then, add to your page and it works!

/**
 * AICardGeneration require 5 additional components
 * that will be automatically installed with the CLI.
 */
import AICardGeneration from "@/components/apexUi/AICardGeneration";

export default function Page() {
  return <AICardGeneration />;
}

4. Optional dependencies

Some components require additional libraries, listed at the bottom of each components. Make sure to install them to ensure the component works properly.

5. Monorepo

For monorepo shadcn/ui CLI contain the options -c to the path to your workspace for example:

bun npx pnpm
bunx shadcn@latest add https://apexui-kappa.vercel.app/r/card-05.json -c ./apps/www
npx shadcn@latest add https://apexui-kappa.vercel.app/r/card-05.json -c ./apps/www
pnpm dlx shadcn@latest add https://apexui-kappa.vercel.app/r/card-05.json -c ./apps/www

Preview

Component Examples

Preview 1 Preview 2
Preview 3 Preview 4

Block Examples

Block Example 1 Block Example 2
Block Example 3 Block Example 4

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - feel free to use this in your projects!

Support

If you find this library helpful, please consider giving it a ⭐️ on GitHub!

About

Apex UI is a premium, open-source React component library that elevates your applications with stunning, production-ready components. Built with Tailwind CSS v4 and shadcn/ui, it delivers beautifully crafted, accessible components that integrate seamlessly into your projects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages