Skip to content

anephenix/ui

Repository files navigation

UI

A design system for Next.js applications, using Sass as the CSS preprocessor.

Node.js CI Coverage Status Maintainability Test Coverage

Installation

npm i @anephenix/ui --save

Dependencies

  • Node.js (14+)
  • React (Version 17)
  • Sass (V 5.0+)

Setup

In order to use Anephenix's React UI within your Next.js applications, you will need to adjust your Webpack configuration in order to load the react components.

Make sure that the next.config.js file for your Next.js app has this code:

const applyWebpackConfig = (test = /\.jsx/) => {
	return (config, options) => {
		config.module.rules.push({
			test,
			use: [options.defaultLoaders.babel],
		});
		return config;
	};
};

module.exports = {
	webpack: applyWebpackConfig(),
};

The applyWebpackConfig function ensures that you can load the React components from the node_modules folder.

Usage

To be fleshed out. See the site for details.

tests

npm t

License and credits

©2021 Anephenix OÜ. UI is licenced under the MIT Licence.

About

A collection of UI components for React web applications

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •