3.1.0 • Published 1 year ago

@archival-iiif/viewer-react v3.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

This software is an open-source and web-based viewer for IIIF. It is focused on tree views but also works with single manifests.

The viewer was developed for the Archival IIIF Server, but also works with any other IIIF server.

Demo

https://iiif.sozialarchiv.ch

Features

Download

https://github.com/archival-IIIF/viewer/releases

The viewer is also available as an npm package:

// with npm
npm -i @archival-iiif/viewer

// with yarn
yarn add @archival-iiif/viewer

Usage

<!DOCTYPE html>
<html>
    <body class="aiiif-body">
        <div id="root"></div>
    
        <script type="text/javascript" src="path-to-viewer/archival-IIIF-viewer.min.js?v=x.y.z"></script>
        <script type="text/javascript">
            new ArchivalIIIFViewer({id: 'root'});
        </script>
    </body>
</html>

Options

Development

Installation

  1. Install Node.js
  2. Install yarn or npm
  3. yarn install or npm install
  4. yarn run start or npm run start

Building

  1. yarn run build or npm run build

See also