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 🙏

© 2025 – Pkg Stats / Ryan Hefner

foxxy-package

v1.4.1

Published

foxxy-package

Readme

Foxxy-package


Názov balíčka: foxxy-package
Popis: Tento balicek obsahuje zakladne komponenty pre vyvoj frontend vyvoja
Inštalácia: npm i foxxy-package
Licencia: MIT
Email: [email protected]
Obsahujuce komponenty:
ButtonComponent
FormComponent
ModalComponent
OffCanvasComponent
CarouselComponent


Priklad pouzitia:

ButtonComponent:

  import { ButtonComponent } from 'foxxy-package';  
  <ButtonComponent.ButtonBox>
    <ButtonComponent.Button text="click" {Argumenty}/>
  </ButtonComponent.ButtonBox>

Argumenty:

| Argument | Povinný | Typ | Popis | |----------------|-----------|------------------------------|----------------------------------------------------| | text | áno | string | Názov Button. Max. 9 znakov! | | variant_btn | nie | string | default, white, dark, funny, sun, ocean | | border | nie | boolean | Určuje, či má Button mať okraj | | round | nie | boolean | Určuje, či má Button mať zaoblené rohy | | lg | nie | boolean | Určuje, či má Button byť veľký (large) | | sm | nie | boolean | Určuje, či má Button byť malý (small) |

+ vsetky arg. obsahujuci element Button pre udalosti:


FormComponent:

  import { ButtonComponent, FormComponent } from 'foxxy-package';  
  <FormComponent.Form form_name='my Form' {Argumenty}>
    <FormComponent.FormHeader />
    <FormComponent.FormInputs {Argument pre input}/>
    <ButtonComponent.ButtonBox>
      <ButtonComponent.Button text="click me" {Argumenty pre ButtonComponent}/>
    </ButtonComponent.ButtonBox>
  </FormComponent.Form> 

Argumenty:

| Argument | Povinný | Typ | Popis | |----------------|-----------|------------------------------|----------------------------------------------------| | form_name | áno | string | Názov Formulára. | | variant_form | nie | string | default, white, dark, funny |

+ vsetky arg. obsahujuci element Form pre udalosti:

Argument pre inputs ( <FormComponent.FormInputs label='my input' /> )

| Argument | Povinný | Typ | Popis | |----------------|-----------|------------------------------ |---------------------------------------------------| | label | nie | string | Label pre input |


ModalComponent:

import { ButtonComponent, FormComponent, ModalComponent } from 'foxxy-package';  
function App() {
  const [show, setShow] = React.useState(false);
  const handleClick = (): void => {
    setShow(!show);
  };
  return (
    <div className="App">
      <div>
        <ButtonComponent.ButtonBox>
          <ButtonComponent.Button text='click me' onClick={handleClick} {Argumenty pre ButtonComponent}/>
        </ButtonComponent.ButtonBox>
      </div>
  
        <ModalComponent.Modal show={show} setShow={setShow} {Argumenty}>
          <FormComponent.Form formName='me form' {Argumenty pre FormComponent} >
            <FormComponent.FormHeader />
            <FormComponent.FormInputs {Argumenty pre FormComponent (input)}/>
          <ButtonComponent.ButtonBox>
            <ButtonComponent.Button text='exit' onClick={handleClick} {Argumenty pre ButtonComponent}/>
          </ButtonComponent.ButtonBox>
          </FormComponent.Form>
        </ModalComponent.Modal>
    </div>
  )
}
export default App

Argumenty:

| Argument | Povinný | Typ | Popis | |----------------|-----------|------------------------------|----------------------------------------------------| | variant_mdl | nie | string | default, white, dark | | show | áno | boolean | show={show} | | setShow | áno | SetStateAction | setShow={setShow} |


OffCanvasComponent:

import { ButtonComponent, OffCanvasComponent } from 'foxxy-package';  
function App() {
  const [show, setShow] = React.useState(false);
  const handleClick = (): void => {
    setShow(!show);
  };
  return (
    <div className="App">
      <div>
        <ButtonComponent.ButtonBox>
          <ButtonComponent.Button text='click me' onClick={handleClick} {Argumenty pre ButtonComponent}/>
        </ButtonComponent.ButtonBox>
      </div>

      <OffCanvasComponent.OffCanvas show={show} setShow={setShow} position="left" {Argumenty}>
        <OffCanvasComponent.OffCanvasHeader>
          {textHeader}
        </OffCanvasComponent.OffCanvasHeader>
        <OffCanvasComponent.OffCanvasBody>
          {textBody}
        </OffCanvasComponent.OffCanvasBody>
        <OffCanvasComponent.OffCanvasButoonBox>
          <ButtonComponent.ButtonBox>
            <ButtonComponent.Button text='exit' onClick={handleClick} {Argumenty pre ButtonComponent}/>
          </ButtonComponent.ButtonBox>
        </OffCanvasComponent.OffCanvasButoonBox>
      </OffCanvasComponent.OffCanvas>
    </div>
  )
}
export default App

Argumenty:

| Argument | Povinný | Typ | Popis | |----------------|-----------|------------------------------|----------------------------------------------------| | variant_offCnv | nie | string | default, white, dark | | position | áno | string | left, top, right | | show | áno | boolean | show={show} | | setShow | áno | SetStateAction | setShow={setShow} |

textHeader: Vlozte nadpis OffCanvas, typ: string
textBody: Vlozte content OffCanvas, typ: string


CarouselsComponent:

import { CarouselComponent } from 'foxxy-package';  
      <CarouselComponent.Carousel {Argumenty}>
        <CarouselComponent.CarouselBox>
          <CarouselComponent.CarouselItem>
            <h1>1</h1>
          </CarouselComponent.CarouselItem>
          <CarouselComponent.CarouselItem>
            <h1>2</h1>
          </CarouselComponent.CarouselItem>
          <CarouselComponent.CarouselItem>
            <h1>3</h1>
          </CarouselComponent.CarouselItem>
        </CarouselComponent.CarouselBox>
      </CarouselComponent.Carousel>

Argumenty:

| Argument | Povinný | Typ | Popis | |----------------|-----------|------------------------------|----------------------------------------------------| | variant_crs | nie | string | default, white, dark |

Pridavanie poloziek do CarouselComponentu:

  <CarouselComponent.CarouselItem>
      {elemnet type: string}
  </CarouselComponent.CarouselItem>

DropdownComponent:

import { DropdownComponent } from 'foxxy-package';  
    <DropdownComponent.Dropdopwn {Argumenty}>
        <DropdownComponent.DropdownBox>
            <DropdownComponent.DropdownItems {Argument items}/>
        </DropdownComponent.DropdownBox>
    </DropdownComponent.Dropdopwn>

Argumenty:

| Argument | Povinný | Typ | Popis | |----------------|-----------|------------------------------|----------------------------------------------------| | variant_drop | nie | string | default, white, dark | | drop_text | ano | string | nazov dropdown | | | | | | | Argument items | Povinný | Typ | Popis | |----------------|-----------|------------------------------|----------------------------------------------------| | href | ano | string | link pre items | | name_link | ano | string | nazov items |

Pridavanie poloziek do DropdownComponentu:

    <DropdownComponent.DropdownItems {Argument items} />