「 foundation/basis 」
基礎

kiso

A modern, customizable, and highly flexible component library for React applications built with reusability and the end user in mind.

  1. Easy installation.

    Quickly setup ...

    Install the parts that your project requires:

    pnpm add kiso-core
    STEP 01
  2. Configure TailwindCSS

    Update your globals.css and tailwind.config.ts.

    STEP 02
  3. Use in your project.

    Take advantage of tree splitting to minimise the Javascript sent to the end-user.

    import { Button } from "kiso-core/button"
    
    const AddToCartButton = () => {
      return (
        <div>
          <Button>Add to cart</Button>
        </div>
      );
    };
    
    STEP 03
  4. Extend components.

    Take advantage of tree splitting to minimise the Javascript sent to the end-user.

    import { Avatar, AvatarFallback, AvatarImage } from "kiso-core/avatar";
    import { motion } from "framer-motion";
    
    const MotionAvatar = motion(Avatar);
    
    BD
    STEP 04
  5. Style components.

    Add custom styling to components with TailwindCSS.

    import { Button } from "kiso-core/button"
    
    const AddToCartButton = () => {
      return (
        <div>
          <Button className=”hover:scale-150”>Add to cart</Button>
        </div>
      );
    };
    
    STEP 05

What's next?

Continually improving with new components, utilities, animations, etc... As the frontend landscape changes Kiso will also update to continue to work with the latest tools.

Next.JS & React Server Components

Currently Kiso's components ship with the “use client” directive for components which require the client-side.

Depending on your implementation of some components you may to add these directives to your code locally.

User's who aren't using server components need not worry and can use the components as-is without removing “use client”.

Have any ideas for new components/features?

Let me know! Feel free to get in contact with ideas, feedback or even just to chat.