Skip to content

Installation

It is easy to install SVDM. You can install it via npm, yarn, pnpm, or any other package manager.

Terminal window
npm install svdm

Once you have installed SVDM, you can import it into your project.

// Please note that the function is called `svd` because "m" means module.
import { svd } from "svdm";

If you need type hints for component props, you can import the type as well.

import type { SVDMProps } from "svdm";

Or you can import both at the same time.

import { svd, SVDMProps } from "svdm";