0.3.1 • Published 4 months ago

spices-fruitui v0.3.1

Weekly downloads
-
License
waqf
Repository
github
Last release
4 months ago

Built with Astro

FruitUI a modular styling framework

when you use bootstarp for just the grid system or use the responsive navbar component , if you want to use the grid system you have to load about 15k lines of css code and if you loaded the full bootstarp bundle or if you use the bootstarp grid preset it contains {padding ,margin, etc...} it's about 6k lines of code I don't want all this stuff so I create this library with it.

So you can import just one component like just the navbar or import just the grid system

License

under waqf license

Getting Started

docs https://fruit-ui.vercel.app

npm i fruitui 
  • full RTL support 0%
  • dark mode 10%

Components

base components

  • checkers 99%
  • buttons 90%
  • navbar 50% - 70%
  • forms 30% - 60%
  • card 80%

other components

  • badge 99%
  • table 30%
  • alert 80%
  • slider 70%
  • modal 0%
  • accordion 0%
  • pagination 0%
  • spinners 0%
  • dropdown 0%
  • group 0%

awesome components

  • prototype 100%

experimental

  • css mixin 10%
div {
  @include css((
    bg: #fff,
    p: (
      xs: 10px,
      md: 8px,
      lg: 6px,
    ),
    items: center,
    justify: center,    
  ));
}

output

div {
  background-color: #fff;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 0px) {
  div {
    padding: 10px;
  }
}
@media screen and (min-width: 720px) {
  div {
    padding: 8px;
  }
}
@media screen and (min-width: 960px) {
  div {
    padding: 6px;
  }
}
  • compress 0%

    it takes every property in any class have it and combines them into a single property extender

  • apply mixin 0%

    it takes class utilities names and returns a list of properties

    div {
      @include apply("p-6 w-10 mt-3")
    }

    output

    div {
      padding: 1.25rem;
      width:   26.25rem;
      margin-top: 0.5rem;
    }

plugins

  • anim 60%

    it is a built in animation libarray

  • debug 30%

    it is a built in debuging and minimal unit testing libarray

0.3.0

4 months ago

0.3.1

4 months ago

0.2.0

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago