Skip to content
Prop UI
Get started

Installation

Pieces drop into any React 19 app with Tailwind v4. Most use Next.js for local fonts.

Requirements

  • React 19 and Tailwind CSS v4.
  • motion for animation (imported from motion/react).
  • Next.js for pieces that load fonts with next/font/local. In another framework, replace the fonts file with @font-face rules.

1. Install the dependency

pnpm add motion

2. Add a piece

Pieces are free with a free account, so sign in first (email link or Google, no password). Then open a piece and press Download code for a zip of its folder (code, fonts and an INSTALL.txt), or switch to Code and copy its files. Put them in components/propui/<folder>/, keeping the folder layout and the font files. Or run the shadcn command shown on the piece page (it includes your personal token): it adds the files to components/propui/ and installs the dependencies.

3. Render it

Dashboards and heroes fill a full window, so give them a full-height container:

import Piece from "@/components/propui/03-halyard-saas/Section";

export default function Page() {
  return (
    <main className="h-dvh w-full overflow-hidden">
      <Piece />
    </main>
  );
}

Styles

Each piece ships its own stylesheet with every class prefixed (for example fh- for Fernhall), so two pieces on one page never restyle each other.

Browse the library.