A cool React components library written in TypeScript.
You can install Kosmos UI as an npm package. Just run:
// with npm
npm install kosmos-ui
// with yarn
yarn add kosmos-ui
If you are working on a TypeScript project, you don't have to worry about installing the library @types
. Kosmos UI is natively written in TypeScript! 😜
We have a lot of components you can integrate to your React app! Just import them from kosmos-ui
! Here's a quick example:
import React from "react";
import ReactDOM from "react-dom";
import { Card } from "kosmos-ui";
function App() {
return <Card title="Cool card">Hey! you are using Kosmos UI!</Card>;
}
ReactDOM.render(<App />, document.querySelector("#app"));
Building...
Building...
Building...
Building...
Building...