An open API service indexing awesome lists of open source software.

https://github.com/liascode/shadcn-preact

shadcn, but for preact
https://github.com/liascode/shadcn-preact

port preact preactjs shadcn shadcn-ui

Last synced: 4 months ago
JSON representation

shadcn, but for preact

Awesome Lists containing this project

README

          

# shadcn/ui-`preact`

An unofficial, `Preact` port of `shadcn/ui`.

This is **NOT** a component library. It’s a collection of re-usable components that you
can copy and paste into your apps.

**What do you mean by not a component library?**

I mean you do not install it as a dependency. It is not available or distributed via npm. I have no
plans to publish it as an npm package (for now).

Pick the components you need. Copy and paste the code into your project and customize to your needs.
The code is yours.

_Use this as a reference to build your own component libraries._

**Why if Preact is compatible with React?**

Shadcn/ui is built upon Radix UI and Tailwind CSS. While Radix UI offers a robust set of components, it introduces several dependencies that may not align seamlessly with Preact projects. This port aims to provide better integration with Preact and reduce reliance on external packages. Although some components may still require additional dependencies, every effort is made to minimize and adapt them as needed.

## Documentation

Visit our [documentation](https://shadcn-preact.onrender.com/docs/installation) to learn more.

## License

Licensed under the [MIT license](https://github.com/LiasCode/shadcn-preact/blob/main/LICENSE.md).