CHC Registry
Ui

IIIF Manifest

A IIIF manifest component

Based on Clover by Samvera Labs.

Preview

Loading...

Installation

CLI

npx shadcn@latest add https://chc-registry.vercel.app/r/iiif-manifest.json
pnpm dlx shadcn@latest add https://chc-registry.vercel.app/r/iiif-manifest.json 

Manual

Install the following dependencies
npm install @samvera/clover-iiif
pnpm add @samvera/clover-iiif
Add a classname utility function
import { clsx, type ClassValue } from 'clsx';
import { twMerge } from 'tailwind-merge';

export const cn = (...inputs: ClassValue[]) => {
  return twMerge(clsx(inputs));
};
Copy and paste the following code into your project
Update the import paths to match your project setup

On this page