Custom Component Library

Spectral Library

Prismatic provides a JavaScript library, spectral, which provides TypeScript type definitions for use in component development.


To add spectral to a project, run

npm install @prismatic-io/spectral

Import input, component, and action types by adding the following to the top of your component code

import { action, component, input } from "@prismatic-io/spectral";
Last updated on