Quickstart

Install

To use Spindle and its components, you need to install the main package @moviri/spindle-components. Run the following command to add it to your project:
npm install @moviri/spindle-components
priority_high Note: Spindle is not available on a public repository, but is restricted to internal access only: if you haven’t set up your credentials already, head to Set up access to a private registrycall_made to learn how to do it.

Set up

Set up the imports for Spindle’s style-sheets globally inside your application: add these two lines of code inside your CSS files.
@import "@moviri/spindle-components/styles";
@import "@moviri/spindle-icons";
You can also import these two directives inside your JS entrypoint, if the bundler you are using supports it.

Use

And that’s it, really. You can then start to use components by importing them from @moviri/spindle-components.
import { Button } from "@moviri/spindle-components";
Head over to the componentscall_made page to learn when and how to use each of them or alternatively take the next steps toward creating your custom theme for Spindle.