Socket
Book a DemoInstallSign in
Socket

@lunit/design-system

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lunit/design-system

Lunit Design System

Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
14
-79.41%
Maintainers
0
Weekly downloads
 
Created
Source

Lunit Design System

Development

  • At repository root location
    • npm i : Install node modules and set Nx environment
    • nx storybook @lunit/design-system : Runs storybook local dev server on http://localhost:6006

Usage

Create Story

A story is simply a case in which one component is executable. You can browse the stories in the UI and see the code behind them in files that end with .stories.js(jsx) or .stories.ts(tsx).

// Button.stories.js|jsx

import React from "react";

import { Button } from "./Button";

export default {
  /* 👇 The title controls the name shown in the storybook sidebar. */
  title: "Components/Button",
  component: Button,
};

export const Primary = () => <Button primary>Button</Button>;

Documentation

Documentation can be found Storybook's docs site.

FAQs

Package last updated on 21 Jun 2024

Did you know?

Socket

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