Socket
Socket
Sign inDemoInstall

@remotarjobs/remotar-uikit

Package Overview
Dependencies
0
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @remotarjobs/remotar-uikit

Pure CSS Remotar UI KIT


Version published
Maintainers
3
Created

Readme

Source

REMOTAR UI-KIT

This is the Remotar UI Kit. It contains all the atomic style and HTML bare components aready styled and in complience with the Remotar Design. It follows a simple modular and reactive pure CSS/SCSS structure.

Usage

Add the remotar UI Kit to yoru project by adding the core CSS only, or the complete UI Kit. If you are using ES6 modules, just import it to your project:

npm install @remotarjobs/remotar-uikit

Then on your global app module

import '@remotarjobs/remotar-uikit'

Or if you prefer a modular approach, import only the core from the css root, then the modules you want from the elements folder. Lets say you want to add only buttons, for exemple:

import '@remotarjobs/remotar-uikit/css/core.css'
import '@remotarjobs/remotar-uikit/css/elements/buttons.css'

Pure HTML

Add the UI-KIT from a link tag on your project:

<link rel="stylesheet" href="ui-kit/css/all.css">

Or if you prefer a modular approach, import only the core from the css root, then the modules you want from the elements folder. Lets say you want to add only buttons, for exemple:

<link rel="stylesheet" href="ui-kit/css/core.css">
<link rel="stylesheet" href="ui-kit/css/elements/buttons.css">
<!-- import all the modules you need from elements -->

ES6 Modules

Just import the UI-KIT

import "ui-kit/css/all.css";

Or for a modular approach:

import "ui-kit/css/core.css";
import "ui-kit/css/elements/buttons.css";
// import all the modules you need from elements

Modules

The UI-KIT is pretty small in size, but if you prefer a modular approach, add the core as explained before, and then the modules you want. Those are the modules you can import from the elements folder:

  • buttons
  • form
  • lists
  • tables
  • typography

Elements Doc

To see the elements index, open the index.html page on the repository root, or start the development server.

Developing

First install the dependencies:

npm install

Then start the dev server

npm run dev

A live server will be opened on localhost:8080, you can start hack.
The sources are on the "scss" folder. Happy code!

Building

Install the dependencies:

npm install

Then:

npm run build

You're good to go

Keywords

FAQs

Last updated on 01 Jun 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc