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

ioeri

v1.81.65

Published

Functional React components library package module

Downloads

30

Readme

ioeri #1

For "leading", pronounced /yori/, 🔊 like "iori" (spoken Yoruba).

core - component ui repository

Functional React - Next.js components library package module.

Required

*React library *Next.js ^13.3.0

Installation core - component ui:

using npm

npm install ioeri@latest

using yarn

yarn add ioeri@latest
  • Now you have access to all core functions and macros from this package!
  • Most of what we do is create simple - somewhat complex modules that can be used in a variety of projects.
  • When you need a slightly complex component function, it's possible to add a library to get the function.
  • Sometimes only for a few parts or even one part of the project but it's very important.
  • In another section we need a similar code but with different conditions or components.
  • We created a simple logic to combine only a few selected components or Polymorphic Valid Components Property's.
  • Summarize several different components into one basic component according to the calling of the component name which will be followed by the default property.

*Note:

Import from ioeri:

Sometimes some cases the editor will give you a suggestion to import a component from 'ioeri/lib/components/[Component]' or 'ioeri/lib' and it is wrong, then switch path to 'ioeri'

Sample:

import { Animated, Core, NextButton } from 'ioeri/lib/components/NextButton';
import { Animated, Core, NextButton } from 'ioeri/lib';

fix in

import { Animated, Core, NextButton } from 'ioeri';
<Core core="a" fz="h6">
  Anchor component
</Core>
// or
<Core core="button" useRouter={useRouter()} href="...">
  <Core core="h1" p={16} m={16} flex="between-center">
    <Core core="div" fz="h1" fz="22px">
      div fontSizeh1
    </Core>
    <Core core="span" fz="h5" ff="Inter" fz={16}>
      Heading1 fontSizeh5
    </Core>
  </Core>
</Core>
<Animated
  type="pop-over"
  variant="tooltip"
  placement="bottom-start"
  fz="h1" // styling font-size using template font style h1 for trigger component
  h={40} // styling height trigger component
  w={350} // styling width trigger component
  withArrow
  popover="dropover tooltip dropover tooltip dropover tooltip dropover tooltip"
  classNames={{
    root: 'class for root component',
    trigger: 'class for trigger component',
    popover: 'class for popover or dropdown component',
  }}
  getStylePlacement={{
    arrow: {
      c: '#424242',
      size: '5px',
      l: 10,
    },
  }}
>
  Animated Children Trigger
</Animated>
<Animated
  type="skew-card-hover"
  h={400}
  w={300}
  fz="h1"
  flex="centered"
  offsetShine={1300}
  getStyleShine={{
    blur: 60,
    size: 150,
    offset: {
      x: 900,
      y: 1500,
    },
  }}
>
  <Animated
    type="running-text-2"
    w={300}
    fz="h1"
    flex="centered"
    placeholders="Lorem ipsum dolor sit amet consectetur, adipisicing elit. Aperiam quos, sequi a ad officia porro libero voluptatibus similique veniam soluta eum sapiente, vel alias laboriosam perferendis ut iusto eaque sunt quae quisquam rerum. Autem omnis quos laborum, iusto voluptatum nesciunt reprehenderit, eius fugit, esse suscipit quis aperiam. Facere cupiditate tempore, illo non consequatur odit dicta deserunt dolore modi repellat maxime natus dolores asperiores saepe quibusdam cumque iusto quidem placeat recusandae velit tenetur minus. Sed vel, alias eius impedit facere quidem ipsa est dolor, asperiores, ullam commodi eaque fugit rem dolores non! Mollitia doloribus iusto placeat porro totam ipsum consequatur consectetur?"
  />
</Animated>
<NextButton
  href="/next"
  core="anchor" // "anchor" <Link> | "button" | "div"
  leftSection={<Icon />} // ReactNode
  rightSection={<Components />} // ReactNode
  // optional for styling settings
  clicked // boolean - set transform when ::active
  disabled // boolean
  indicator // boolean
  indicatorActive //boolean - set indicator animate (@keyframe)
  indicatorBordered //boolean - set border indicator
  variant="gradient" // type variant background-color
  loading // boolean
  compact // sizing 1x1 - remove leftSection & rightSection
  rd="xl" // border-radius
  w="100%" // width
  size="md" // default size
  cursor="wait" // set cursor
  indicatorType="bar" // select indicator type
  indicatorPos="right-end"
  indicatorSize={18}
  orientation="vertical" // "horizontal" | "vertical" - if vertical leftSection will be topSection and rightSection will be bottomSection
  justify="space-between"
  getStyleIndicator={{ offset: '8px' }}
  getStyleLoader={{ color: 'red', size: 'md' }}
  gradient={{ from: 'red', to: 'orange', deg: '70', via: 'yellow' }}
  // or
  styles={{
    root: { backgroundColor: '#c1c2c5' },
    wrapper: { padding: '4px' },
    inner: { fontSize: '32px' },
    loader: { background: 'yellowgreen' },
  }}
  classNames={{
    root: 'class for root component',
    wrapper: 'class for wrapper component',
    leftSection: 'class for left-section component',
    loader: 'class for loader component',
  }}
>
  NextButton
</NextButton>

Polymorphic Valid Components Property's

One component that you can change into several other components as needed with the same style.

🚨

In practice, some of our syntax/code approach may be incompatible with the library and version you are using.

🏗️

You can join for testing or take part in providing updates.

Contributors

Become a contributor

License

MIT

© ioeridev