npm

lil-ui
TypeScript icon, indicating that this package has built-in type declarations

0.22.0-a • Public • Published

lil ui

A set of very basic components for React projects.

Designed to be used out of the box or in DIY UI fashion with TailwindCSS or Styled components.

Demo and Documentation

Installation

yarn add lil-ui
npm install lil-ui

Components

Modal

Prop Default value Options
show false

true to show the modal

false to hide the modal

children
Modal content can be passed as children
titleComponent
Custom component for modal heading
backdropComponent
Custom component for modal backdrop
title
Modal title
onClose
Function to run when modal closes

Pane

Prop Default value Options
show false

true to show the modal

false to hide the modal

children
Modal content can be passed as children
titleComponent
Custom component for modal heading
backdropComponent
Custom component for modal backdrop
title
Modal title
onClose
Function to run when modal closes
position right
left to open the pane from left
right or leave empty to open the pane from right

Readme

Keywords

Package Sidebar

Install

npm i lil-ui

Weekly Downloads

2

Version

0.22.0-a

License

none

Unpacked Size

18.6 kB

Total Files

11

Last publish

Collaborators

  • thelifeofrishi