fleko

0.1.4-1 • Public • Published

logo

fleko npm package

Small React UI Library

Currently provides 7 components and 20 gradients

Storybook

Available at https://kocisov.github.io/fleko

Installation

peerDependencies -> react, styled-components

# npm
npm install --save react fleko styled-components

# yarn
yarn add react fleko styled-components

Usage

import React, { useState } from 'react'
import { Alert, Gradients, Text } from 'fleko'

export default function View() {
  const [isVisible, setIsVisible] = useState(true)

  render() {
    return (
      <Alert
        visible={isVisible}
        background={Gradients.sunKist}
        icon={<Icon size={20} color="#fff" />}
      >
        <Text semiBold>Application is running</Text>
      </Alert>
    )
  }
}

Package Sidebar

Install

npm i fleko

Weekly Downloads

0

Version

0.1.4-1

License

MIT

Unpacked Size

341 kB

Total Files

5

Last publish

Collaborators

  • kocisov