A viewer as distinctive as your collections. Design a user experience rooted in
IIIF. Clover, a IIIF viewer made to fit any collection or project, is better than ever.
Use the Viewer as it is, or compose whatever suits your vision and your materials.
Install from npm as @nulib/clover and
use as React or web components.
Try Clover with your own collections:
https://clover.iiif.library.northwestern.edu
- Adaptable: images, audio, video, 3D objects and text, all in one viewer
- Accessible: WCAG 2.2 AA, ready for screen readers, with captions, strong contrast and more
- Seamless: takes on your institution’s brand colors and fonts
- Composable: your own layout, from the same components as the templates
- Lightweight: about 100 kB for the Viewer, less for a layout of your own
- IIIF-native: built to the IIIF APIs, for a wide range of use cases
- Flexible: every part of Clover, in React or as web components
For templates, composing your own layout and every prop, see the documentation. To begin, choose your setup, then add the Viewer to a page.
You build your site with React. Add Clover to your app like any other package.
npm install @nulib/cloverimport Viewer from "@nulib/clover";
import "@nulib/clover/styles.css";
export default function Item() {
return (
<Viewer iiifContent="https://api.dc.library.northwestern.edu/api/v2/works/3510cac2-1439-49f0-b30a-09ae19a0643d?as=iiif" />
);
}Your site has a build step, but no React. Install Clover once, then use it on any page.
npm install @nulib/cloverimport "@nulib/clover/web-components";<clover-viewer
iiif-content="https://api.dc.library.northwestern.edu/api/v2/works/3510cac2-1439-49f0-b30a-09ae19a0643d?as=iiif"
></clover-viewer>Plain HTML or an embed, no build step. Paste one line into a CMS or a blog post.
<script src="https://cdn.jsdelivr.net/npm/@nulib/clover/dist/web-components/index.umd.js"></script>
<clover-viewer
iiif-content="https://api.dc.library.northwestern.edu/api/v2/works/3510cac2-1439-49f0-b30a-09ae19a0643d?as=iiif"
></clover-viewer>The elements bring their own styles, so there is no stylesheet to add.
The Viewer is made of parts. Place them in a Root, in any order, for a layout of your
own.
import * as Clover from "@nulib/clover";
import "@nulib/clover/styles.css";
export default function Item() {
return (
<Clover.Root iiifContent="https://api.dc.library.northwestern.edu/api/v2/works/3510cac2-1439-49f0-b30a-09ae19a0643d?as=iiif">
<Clover.Body />
<Clover.Label as="h3" />
<Clover.Summary />
<Clover.Items />
</Clover.Root>
);
}<clover-root
iiif-content="https://api.dc.library.northwestern.edu/api/v2/works/3510cac2-1439-49f0-b30a-09ae19a0643d?as=iiif"
>
<clover-body></clover-body>
<clover-label as="h3"></clover-label>
<clover-summary></clover-summary>
<clover-items></clover-items>
</clover-root>Composing layouts says what
goes where. For AI agents, the docs are Markdown too, starting from
llms.txt.
Please follow the contributing guidelines, and branch from
main.
MIT License. Copyright (c) 2026 Northwestern University Libraries.
The White Sewing Machine Company's bicycle catalog (1896), courtesy of Northwestern University Libraries; an Esu shrine, © 2025 Northwestern University; the Nuremberg judgment (1946), National Archives, via Wikimedia Commons.