Giter Site home page Giter Site logo

larsson's Introduction

Larsson ๐Ÿ”ซ

A react components library.

โš ๏ธ under construction

Tools

  • Storybook : UI playground tool allows to build and document components in isolation.
  • Rollup : JS bundler, for packing and distributing the library into a single module.
  • Jest : Test runner for JS.
  • Sass : CSS on steroids.

Implemented Components

  • Buttons

    • Simple Button
    • Flat Button
  • Inputs

    • Simple Input
    • Textarea
    • Select
    • Checkbox
    • Radio button
    • Date
  • Navigation

    • Dropdown
    • Breadcumber
    • Card

Design System

Color palette

Larsson mainly uses the following colors :

  • #DC143C Crimson #DC143C

  • #00008B Navy Blue #00008B

  • #32cd32 Limegreen #32cd32

  • #111111 Night #111111

  • #cccccc Silver #cccccc

  • #ffffff White #ffffff

Typography

We choose to use one typography from Google's Fonts library and make use of Martian Monoโ€™s different declination. This helps us move quickly and maintain visual consistency.

Link To Typography

Iconography

We source the majority of our UI icons from Heroicons. This helps us to avoid inconsistency.

Link To Iconography

You can find the complete design system and guidelines from where Larsson was inspired to use it best. Design System


Guidelines

Installation

npm install @mojsx/larsson

Use case

Button

...
import { FlatButton } from "larsson/buttons";

...

const App = () => {
    return(
        <>
            <FlatButton
                content="White Button"
                href="https://github.com/mo-jsx/larsson"
                variant="primary"
            />
        </>
    )
}

export default App;

Result

White FlatButton

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.