Skip to content
/ vallium Public

A React component libary built with TailwindCSS and Motion

Notifications You must be signed in to change notification settings

iotacb/vallium

Repository files navigation

ValliumUI

Small UI library for react projects. Build with the vallium design system.

Be aware that this library is still experimental and in development!

Documentation

For better documentation and examples, please see the docs here

Installation

Style compilation

Add the node module package to the content in the tailwind.config.js file to enable the compilation of the tailwind styles used by vallium.

	content: [
		"./node_modules/valliumui/**/*.{js,ts,jsx,tsx}",
	],

Colors

Add the follwing colors to the tailwind.config.js file in your project.

This is also where you can configure the colors used by vallium.

theme: {
    extend: {
        colors: {
            vallium: {
                50: "#eef9ff",
                100: "#d9f2ff",
                200: "#bbe9ff",
                300: "#8cdcff",
                400: "#56c6ff",
                500: "#2eaaff",
                600: "#188cf8",
                700: "#1178ee",
                800: "#145db9",
                900: "#174f91",
                950: "#133158",
            }
        }
    }
}

Example

Your final config should look something like this:

import type { Config } from "tailwindcss";

const config: Config = {
	content: [
		"./src/**/*.{js,ts,jsx,tsx,mdx}",
		"./node_modules/valliumui/**/*.{js,ts,jsx,tsx,mdx}",
	],
	theme: {
		extend: {
			colors: {
				vallium: {
					50: "#eef9ff",
					100: "#d9f2ff",
					200: "#bbe9ff",
					300: "#8cdcff",
					400: "#56c6ff",
					500: "#2eaaff",
					600: "#188cf8",
					700: "#1178ee",
					800: "#145db9",
					900: "#174f91",
					950: "#133158",
				},
			},
		},
	},
	plugins: [],
};
export default config;

About

A React component libary built with TailwindCSS and Motion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published