0.0.9 • Published 7 months ago

awal-ui v0.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

Awal UI Library

Awal UI is a modern React component library built with TailwindCSS and Framer Motion to help developers create beautiful, interactive user interfaces quickly and efficiently.

🚀 Features

  • Lightweight, customizable, and accessible components.
  • Smooth animations with Framer Motion.
  • Fully styled using TailwindCSS for rapid development.
  • TypeScript support for a better developer experience.

📦 Installation

Install the library and its peer dependencies:

npm install awal-ui tailwindcss framer-motion

🛠 Usage

Here's a quick example of how to use a button from Awal UI:

import React from 'react';
import { Button } from 'awal-ui';

const App = () => (
  <div className="p-4">
    <Button variant="primary" onClick={() => alert('Button clicked!')}>
      Click Me
    </Button>
  </div>
);

export default App;

🎨 Customization

1. Theming

To customize the theme, extend the TailwindCSS configuration in your tailwind.config.js:

module.exports = {
  theme: {
    extend: {
      colors: {
        primary: '#1a73e8',
        secondary: '#fbbc05',
      },
    },
  },
}

2. Animations

All animations are powered by Framer Motion. You can override animation settings via component props.

🧩 Components

ComponentDescription
ButtonCustomizable button components.
InputForm input elements.
LoaderLoading spinners and indicators.
CopyToClipboardCopy content to the clipboard.
OverlayCopy content to the clipboard.
ImageCopy content to the clipboard.
RippleCopy content to the clipboard.
ScrollRestorationCopy content to the clipboard.
ThemeProviderCopy content to the clipboard.

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page (update link).

📄 License

This project is licensed under the MIT License.

Happy coding! 🚀


Let me know if you’d like help with setting up documentation further or refining your code!

0.0.9

7 months ago

0.0.85

7 months ago

0.0.8

7 months ago

0.0.75

7 months ago

0.0.7

7 months ago

0.0.65

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.45

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.25

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago