Plugins

As I have already mentioned in the first chapters you can install some plugins/pre-made components (ingress, table, and modals), more will certainly come.

As I have already mention previous in the guide that you can install some components that I have already made. Currently, there are only three (ingress, table, and modals), but more will certainly come and I will list them here, at this section of the guide.

Install Startox views/components

npm i stratoxcomponents

Every plugin component below you are able to build yourself, and I do recommend that if you're interested, at least take a look at how they are built by navigating to the "./node_modules/stratoxcomponents/src/" directory and inspecting every component there.

Ingress

Add a simple ingress component.

import { StratoxIngress } from './node_modules/stratoxcomponents/src/StratoxIngress.js';

Stratox.setComponent("ingress", StratoxIngress);

const stratox = new Stratox("#app");

stratox.view("ingress", {
  headline: "Lorem ipsum dolor",
  content: "Lorem ipsum dolor sit amet",
});

stratox.execute();

Result:

Table

Add a sortable table component.

Result:

Modals

Bellow I will show 5 different modal components.

Result:

More component will come in the future.

Last updated