@lieinapril/utente

0.7.8 • Public • Published

@lieinapril/utente

Neumorphism - A new age take on Skeumorphism.

Documentation

Refer to the following storybook.

Installation

Install guide

npm install @lieinapril/utente

Components available

  • Input
  • Avatar
  • Switch
  • Tab/TabPane
  • Button
  • Card
  • Modal
  • Collapse
  • Radio
  • Switch
  • Tag
  • Text
  • Table
  • Checkbox
  • List/ListItem
  • Theme

Usage

import { Avatar, Button } from '@lieinapril/utente';

const Example = () => {
  const args = {
    theme: "light",
    size: "medium",
    shape: "square",
    indented: false
  };

  const imgSrc = "https://randomuser.me/api/portraits/women/21.jpg";

  return (
    <div style={{ display: "flex", gap: 20, backgroundColor: "#eee" }}>
      <Button>Hello World!</Button>
      <Avatar {...args} text="U" />
      <Avatar {...args} text="US" />
      <Avatar {...args} text="USE" />
      <Avatar {...args} text="USERS" />
      <Avatar {...args} src={imgSrc} />
      <Avatar {...args} icon={<i className="fas fa-search"></i>} />
    </div>
  );
}

Readme

Keywords

none

Package Sidebar

Install

npm i @lieinapril/utente

Weekly Downloads

1

Version

0.7.8

License

ISC

Unpacked Size

614 kB

Total Files

5

Last publish

Collaborators

  • lordono