@servicetitan/design-system
TypeScript icon, indicating that this package has built-in type declarations

13.6.0 • Public • Published

Anvil Design System

The design system is a library of CSS components with TypeScript React wrappers.

Installation

npm install @servicetitan/design-system --save

Using React Components

In React environments, include the CSS file with any method that makes sense with your project. Components can be imported like any other NPM module.

import '@servicetitan/design-system/dist/system.min.css';
import { Component } from '@servicetitan/design-system';

Using CSS components

We strongly recommend using the React components. That said, the CSS is written following BEM naming rules, so a React Component translates to a CSS class of .Component. Variations are modifier classes, e.g. .Component .Component—variation.

Keep in mind that the design system is a living tool and will change in the future. Upgrading versions of the design system should be done cautiously as classes could change.

<link rel="stylesheet" href="../node_modules/@servicetitan/design-system/dist/system.min.css">

Readme

Keywords

none

Package Sidebar

Install

npm i @servicetitan/design-system

Weekly Downloads

6,204

Version

13.6.0

License

none

Unpacked Size

7.72 MB

Total Files

1482

Last publish

Collaborators

  • dextersealy
  • seanmadi
  • karpoff
  • st-team
  • rgdelato