@ncino/web-components

4.0.0 • Public • Published

Getting Started

View the Docs & Component Playground

SLDS

Storybook

Gator

Storybook

Consuming the nCino Web Components

nCino Web Components are Native Web Components that can be consumed in any framework, or no framework at all.

Global Styles

If you want to make use of the global utility styles available, import the styles for your design system.

Ex import '@ncino/web-components/gator-global-styles.css

Framework Samples

View the samples in the ./samples directory for examples of how to consume the components for the framework of your choice.

Consumption Options

You can either import components individually or all components through a single file.

Single File

Simple import the index.js included in the Dist. This file includes all components.

import '@ncino/web-components';
Individual Components

Import the components you need individually.

// SLDS Component
import '@ncino/web-components/dist/components/button/button.slds';

// Gator Component
import '@ncino/web-components/dist/components/button/button.gator';

Getting IntelliSense on the Components

Included in the distribution of these components will include both a custom-elements.json manifest file and a web-types.json file These files can be used to provide IntelliSense in your IDE and should work OOTB but may need additional configuration depending on your IDE.

Using Typescript?

Each of the component declare a global definition for the custom web components. This means your IDE can recognize the components and provide intellisense.

All types are exported in the dist/types folder of the npm package.

Readme

Keywords

none

Package Sidebar

Install

npm i @ncino/web-components

Weekly Downloads

807

Version

4.0.0

License

(c) Copyright 2023 nCino, Inc., all rights reserved

Unpacked Size

18.2 MB

Total Files

2301

Last publish

Collaborators

  • jake-spillane
  • garretpatten
  • briantriplett-ncino
  • ci-ncino
  • worm425
  • ichthyophile