npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

lorem-ui

v1.0.5

Published

Get lorem ipsum text and create a web site in minutes! Get basic lorem-ipsum themed UI elements

Downloads

3

Readme

lorem-ui

React Verison error has been fixed.

lorem-ui is a basic UI library. You can use this library to get dummy text(lorem ipsum) and many other componnets. Create a web site in minutes! An Example website provided below.

NPM JavaScript Style Guide

Install

npm i lorem-ui

Document

Components

LoremText

  • Use the component to get lorem ipsum text.
  • Encapsulation: Yes
<LoremText/> //You will get full paragraph of lorem ipsum text.
<LoremText words='5'/> //You will get 5 words of lorem ipsum text.
<LoremText words='220' font='fancy'/> //You will get 220 words of lorem ipsum with having fancy font-family.
<LoremText>Some Text !</LoremText> // You will get full paragraph of dummy lorem ipsum and the output: 'Some Text!' at the end.

LoremContainer

  • Use this component to wrap all other components.
  • Encapsulation: Yes
<LoremContainer></LoremContainer>

LoremDiv

  • Use the component to get a div with having rounded border.
  • Encapsulation: Yes
<LoremDiv>
 <LoremText word='40' font='fancy'/>
</LoremDiv>

LoremHeader

  • Use the component to get a fancy header.
  • If you use center prop it will show header at the center. -Encapsulation: Yes
<LoremHeader center='true'>Lorem Ipsum</LoremHeader>

LoremColumn

  • Use the component to adjust the number of columns in a row of text.
  • Encapsulation: Yes
<LoremColumn column='1 | 2 | 3 | 4'> // give values 1-4.
  <LoremText word='140' font=''/>
</LoremColumn>

LoremButton

  • Use the component to get a button.
  • If 'type' prop is empty, it works as a default button.
  • Encapsulation: Yes
<LoremButton type='default | primary | primary-bold | primary-long | text | link'></LoremButton>

<LoremButton type='primary-long'>Get More İnformation</LoremButton> // example use case

LoremFooter

  • Use the component to create a footer div by encapulating other footer components.
  • Encapsulation: Yes
<LoremFooter></LoremFooter>

LoremFooterLeft

  • Use the components as a child coponnet of the <LoremFooter>
  • This component wraps list elements and shows them at the left side.
  • Encapsulation: Yes
<LoremFooterLeft></LoremFooterLeft>

LoremFooterRight

  • Use the components as a child coponnet of the <LoremFooter>
  • This component wraps list elements and shows them at the left side.
  • Encapsulation: Yes
<LoremFooterRight></LoremFooterRight>

Example WebSite

3 4

import React from 'react'
import { ExampleComponent, LoremButton, LoremText, LoremDiv, LoremContainer, LoremColumn, LoremHeader, LoremFooter, LoremFooterLeft, LoremFooterRight } from 'lorem-ui'
import 'lorem-ui/dist/index.css'

const App = () => {
  return (
    <div>
      <LoremContainer>
        <LoremHeader center='true'>Lorem Ipsum</LoremHeader>
        <hr />
        <br /><br />
        <LoremColumn column='4'>
          <LoremText words='140' />
          <br />
          <LoremButton type='primary-long'>Get More İnformation</LoremButton>
        </LoremColumn>
        <br /><br />
        <LoremDiv><LoremText words='40' font='fancy' /></LoremDiv>
        <br /><br />
        <LoremText words='120' />
        <br /><br />
        <LoremDiv><LoremText words='40' font='fancy' /></LoremDiv>
        <br /><br />
        <LoremText words='120' />
        <LoremFooter>
          <LoremFooterLeft>
            <li><LoremButton type='text'><h3>Lorem Ipsum</h3></LoremButton></li>
            <li><LoremButton type='text'>dolor sit amet</LoremButton></li>
            <li><LoremButton type='text'>consectetur adipiscing elit</LoremButton></li>
            <li><LoremButton type='text'>sed do eiusmod tempor incididunt</LoremButton></li>
          </LoremFooterLeft>
          <LoremFooterRight>
            <li><LoremButton type='text'><h3>Lorem Ipsum</h3></LoremButton></li>
            <li><LoremButton type='text'>dolor sit amet</LoremButton></li>
            <li><LoremButton type='text'>consectetur adipiscing elit</LoremButton></li>
            <li><LoremButton type='text'>sed do eiusmod tempor incididunt</LoremButton></li>
          </LoremFooterRight>
          <LoremFooterRight>
            <li><LoremButton type='text'><h3>Lorem Ipsum</h3></LoremButton></li>
            <li><LoremButton type='text'>dolor sit amet</LoremButton></li>
            <li><LoremButton type='text'>consectetur adipiscing elit</LoremButton></li>
            <li><LoremButton type='text'>sed do eiusmod tempor incididunt</LoremButton></li>
          </LoremFooterRight>
        </LoremFooter>
      </LoremContainer>

    </div>
  )
}

export default App

License

MIT © Can-tech