# Components

## Overview

Components are the basic building blocks for creating beautiful and intuitive UI/UX.

Nectar provides over 80 reusable components which you can mix and match to create beautiful interfaces providing best experience to your users.

Each component provides native look and feel by following Google's Material Design, Apple's Cupertino Design, and Framework7's Aurora Design on Android, iOS and Desktop respectively.

Besides the components provided by Framework7, Nectar also uses few third-party components to extend the functionalities. Some of the Framework7 components are also extended and customized to provide more variants.

You can access the code for components in `/partials/components/` folder. The code is pretty much self-explanatory.

You can use these components anywhere in your app. You just need to copy-paste the required code present in their HTML files and write some JS (if needed).

The CSS for all the components is present inside `/assets/vendor/nectar/nectar.css`

{% hint style="info" %}
The `nectar.css` file might change when some updates are released. Therefore, if you want to override or write your own CSS, then you must put it inside /assets/custom/css/custom.css
{% endhint %}

## Framework7 Components

These components are provided by Framework7. We have extended some of the Framework7 components to provide more variants.

## Third-Party Components

Some useful components which are generally required in an app are not provided by Framework7. Therefore, some third-party Vanilla JS and jQuery plugins / libraries are used and their CSS is modified to match the Android, iOS and Aurora design.

## Custom Components

Besides the Framework7 and Third-Party components, we have also designed few CSS based custom components.

Additionally, we have also provided some basic styling to few native HTML5 elements such as Audio and Video.

## Demo

<https://nectar.website/demo/components/>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pmsgz.gitbook.io/nectar/ui-ux/components.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
