/cssui

A collection of interactive UI components in pure CSS

Primary LanguageSCSSMIT LicenseMIT

Netlify Status npm Version npm Downloads

CSSUI

CSSUI is a front-end library that includes a variety of CSS user interface components. These can be used to construct modern and responsive web applications.

Getting Started

To use the components in this repository, download or clone it to your local machine. Once you have the files, copy the necessary CSS code and paste it into your project's CSS file.

Demo and documentation available here.

Components

  • Accordion
  • Dropdown
  • Fullpage
  • Modal
  • Range
  • Slideout
  • Tabs
  • Toggle
  • Tooltip

Each component has its own CSS file with its specific styles. You can use these components on their own or combine them to build more complex user interfaces.

Installation

Use npm to install CSSUI in your project:

npm install css-ui-lib

Usage

The library includes:

  • cssui.css, a global stylesheet which contains the CSS variables used by all components.
  • components folder list

Each component folder includes two files:

  1. HTML template file
  2. CSS stylesheet.

You can use template files as partial or copy/paste the code into the project's files according to your needs.

Customization

You can customize all the CSS code in this repository to fit your design needs. You can also add your own styles to the components for more customization.

Contributing

If you want to help improve this repository, send us a pull request with your changes. We welcome and value all contributions.

Support

Open an issue here on Github to share feedback, report bug or ask help.

License

MIT License

Copyright (c) 2021 Francesco Improta

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.