aether-ui
v1.0.1
Published
A ReactJS UI component library
Readme
Aether React UI Library
Aether UI is a React.js library that is designed to streamline and elevate web development experience.
Aether UI leverages the power of Tailwind CSS and FontAwesome for effortless and responsive styling, Aether UI provides cohesive and modern aesthetic components right out of the box.
[!NOTE]
I have created this for my personal use, but I also will be sharing the code as I go for my personal portfolio.
[!WARNING]
Website documentation coming soon!
Pre-Requisites
Aether UI mostly requires its dependencies from its peer so having the following installed is required for using this component library.
reactreact-domtailwindcss@fortawesome/fontawesome-svg-core@fortawesome/free-brands-svg-icons@fortawesome/free-regular-svg-iconse@fortawesome/free-solid-svg-icons@fortawesome/react-fontawesome
Testing Locally
Aether UI is a component library and will not work on its own. In this example, we assume that you already have a running React application.
- Clone the repository and install its dependencies
jtcarlos@github:~$ git clone [email protected]:jtcarlos/jt-aether-ui.git
jtcarlos@github:~$ cd ./jt-aether-ui
jtcarlos@github:~$ yarn- Build and Link the UI library
jtcarlos@github:~$ yarn build
jtcarlos@github:~$ npm linkNote: This action will generate a /dist folder and inside, you will find an /esm and /cjs folder. This are all compiled to JavaScript. Though this project is created using TypeScript, you may import this into your JS project.
- Add the library to your project
jtcarlos@github:~$ yarn add ../path/to/package/jt-aether-ui- Import and use the library
import { Button, Stack, Message } from "aether-ui"
const Main = () => {
return (
<Stack direction="col">
<Message>You have successfully imported Aether UI!</Message>
<Button onClick={() => alert("Hello World!")}>Click Me!</Button>
</Stack>
)
}
export default MainInstalling via NPM / Yarn
Using NPM
jtcarlos@github:~$ npm i aether-uiUsing Yarn
jtcarlos@github:~$ yarn add aether-ui