react-allapps-dropdown
v1.6.1
Published
A React component for an All Apps dropdown menu with zero Tailwind dependency
Readme
React AllApps Dropdown
A React component for an All Apps dropdown menu styled with Tailwind CSS.
Installation
You can install this package using npm or yarn:
npm install react-allapps-dropdownor
yarn add react-allapps-dropdownUsage
Import and use the component in your React application:
import React from "react";
import { AllApps } from "react-allapps-dropdown";
const App = () => {
return (
<div>
<AllApps isProduction={true} />
</div>
);
};
export default App;Props
| Prop | Type | Default | Description |
| -------------- | --------- | ---------- | ------------------------- |
| isProduction | boolean | optional | For production url change |
Styling
This component uses plain scoped CSS (allapps-* classes). No Tailwind setup is required in your project.
Styles are bundled automatically when you import the component. You can also import the stylesheet directly:
@import "react-allapps-dropdown/src/styles.css";License
This project is licensed under the MIT License.
