Git Product home page Git Product logo

mamba-ui's Introduction

GitHub license GitHub issues GitHub stars Twitter Follow

Mamba UI

Mamba UI is a free, open-source collection of beautiful UI elements based on Tailwind CSS that make it easy for anyone to build a website in minutes. Take a look at the kit at www.mambaui.com.

All the components are just good ol' HTML and CSS, but without the need of writing complex css rules thanks to Tailwind CSS. Tailwind CSS is a utility-first CSS framework so if one of our components doesn't fit your needs just right, you can modify them easily by following the their documentation about the different classes.

Features

  • 100+ building blocks
  • Choose your primary color from any of the 17 different Tailwind colors
  • Fully responsive
  • Export as HTML or JSX
  • Dynamic light and dark themes
  • All the icons and illustrations are open-sourced as well
  • Easy to customize with Tailwind CSS

Upcoming features

If you want to know what we have planned for the near future, you can check out our public roadmap.

Installation

There is no need to download or install anything from Mamba UI. Just copy-paste the components and templates to your project and they'll work out-of-the-box without any modifications as long as you have TailwindCSS installed in your project.

NOTE: Tailwind CSS doesn't have all the different colors enabled in the default configuration so here are all the possible colors mapped to their respective names. Tailwind CSS 3.0 has all the different colors enabled by default.

module.exports = {
	purge: [],
	theme: {
		colors: {
			transparent: 'transparent',
			current: 'currentColor',
			black: colors.black,
			white: colors.white,
			rose: colors.rose,
			pink: colors.pink,
			fuchsia: colors.fuchsia,
			purple: colors.purple,
			violet: colors.violet,
			indigo: colors.indigo,
			blue: colors.blue,
			lightBlue: colors.lightBlue, // Only in Tailwind CSS <=v2.1
			sky: colors.sky, // As of Tailwind CSS v2.2, `lightBlue` has been renamed to `sky`
			cyan: colors.cyan,
			teal: colors.teal,
			emerald: colors.emerald,
			green: colors.green,
			lime: colors.lime,
			yellow: colors.yellow,
			amber: colors.amber,
			orange: colors.orange,
			red: colors.red,
			warmGray: colors.warmGray, 	// Tailwind CSS 2.x
			trueGray: colors.trueGray, 	// Tailwind CSS 2.x
			blueGray: colors.blueGray, 	// Tailwind CSS 2.x
			coolGray: colors.coolGray, 	// Tailwind CSS 2.x
			gray: colors.gray,
			slate: colors.slate, 		// Tailwind CSS 3.x
			zinc: colors.zinc, 			// Tailwind CSS 3.x
			neutral: colors.blueGray, 	// Tailwind CSS 3.x
			stone: colors.stone, 		// Tailwind CSS 3.x
		},
	}
};

Usage

How to use the components on your own websites?

  1. Find a component, section or template that you like from the Mamba UI website
  2. Select the primary color from the available colors
  3. Select the light or dark theme
  4. View the HTML, Vue or React code for that element
  5. Copy/paste the code into your project
  6. Profit

Contributing

Right now this is just a hobby project for me and there aren't a lot of users (if any) so I update and maintain the project as I have spare time.

If you want to help, pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Development

After you clone this repository to your desktop with git clone https://github.com/Microwawe/mamba-ui.git, go to its root directory and run npm install to install its dependencies.

Once the dependencies are installed, you can run ng serve to start the application. You will then be able to access it at localhost:4200

License

MIT

mamba-ui's People

Contributors

dsgdsr avatar jjbofficial avatar microwawe avatar realsantosm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mamba-ui's Issues

All links inside components redirect to the home page.

Unfortunately, when searching for components and interacting with them we might get redirect to the home page thus halting our search.
The reason why it happens is the href="#" attr in the <a> tag, if we set it to href="" it won't happen again.
Different components has the tag and as user we got this unexpected behavior when clicking over them therefore ruining the user experience.

How to contribute

I just wanna contribute to MambaUI. I can add new buttons ,Tooltip and Lot more. I'm just school student and free in Weekend.So I just want to use my weekends. How to contribute ?

Inconsistent Attribute Naming in MambaUi Form Components Hindering React Integration

Dear MambaUi Team,

As an active developer leveraging MambaUi components within React projects, I'd like to express appreciation for the value your library brings to front-end development.

However, during integration efforts, I noticed discrepancies in attribute naming within the JSX files of MambaUi form components. Specifically:

  1. <form> Component: The novalidate attribute is currently represented as novalidate="", deviating from React's expected noValidate="" casing convention.

  2. <label> Component for Password Field: The for attribute is currently written as for="password", whereas React expects htmlFor="password" for proper functionality.

These inconsistencies may cause confusion among developers familiar with React's conventions, potentially leading to debugging challenges and decreased productivity.

Addressing these minor yet crucial attribute naming inconsistencies would significantly enhance the compatibility and usability of MambaUi components within React projects. It would streamline the integration process and ensure a seamless development experience for users of your library.

I kindly request the MambaUi team to review and rectify these attribute namings in the provided form components, aligning them with React's conventions.

Thank you for your attention to this matter. Should you require further clarification or assistance, please feel free to reach out.

Possibility to copy code for both light and dark theme at the same time

Currently on the website I can choose a dark or light theme and copy the associated code.
It would be awesome to have the possibility to copy/paste a version of the code handling both cases.

For instance, instead of having:

bg-gray-800 text-gray-100 for the light version and dark:bg-gray-800 dark:text-gray-100 for the dark version, having a mix like so: bg-gray-800 text-gray-100 dark:bg-gray-800 dark:text-gray-100

Maybe there is an option, but I haven't found it.

Thanks!

Interaction how to implement

Hi @Microwawe

As I saw issues you replied to others you mentioned the component just html + css, what is the suggestion or advice how to do js interaction you would give to the end users?

Thanks
Eric Xin

RTL support

Hi
How i can using mamba components in right-to-left cultures like Arabic,Hebr?

JSX Components

Can I please work on fixing some JSX components that don't have closing tags like the tags? They should be <img ...... />

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.