@falley/dashboard
v0.0.27
Published
Reusable components and styles for Falley's dashboards
Downloads
984
Readme
Falley Dashboard Components and Styles
This repository provides reusable React components and styles for Falley's dashboards, making it easy to create a consistent design across multiple projects. Follow the steps below to integrate the components and styles in your own project.
Installation
Install the Falley Dashboard package via npm:
npm install @falley/dashboard
Usage
Import Components
After installing, you can import and use the components in your React or Next.js project:
import { Layout } from "@falley/dashboard";
function MyDashboard() {
return (
<Layout>
<div>Welcome to My Dashboard!</div>
</Layout>
);
}
export default MyDashboard;
Import Styles
To use the pre-built styles, import the CSS file in your main entry point (e.g., index.js
, App.js
, or \_app.js
in Next.js):
import "@falley/dashboard/dist/styles.css";
This will ensure that your project uses the consistent styles provided by Falley.
License
This project is licensed under the MIT License. See the LICENSE file for more details.