# Components Library

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2Fo34hgpVt6av4Cs00DE1f%2FScreenshot%202023-10-16%20at%2010.46.20.png?alt=media&#x26;token=ac868609-1993-419a-bbe2-f5558e893edf" alt=""><figcaption></figcaption></figure>

The Components LIbrary regroups all your Components.&#x20;

The Components Library is sorted by New, Old and Folders.&#x20;

You can set a List or a Grid view depending on user preference.

## Open

You can access the Components Library from the Cwicly sidebar.

* Click the Components icon to open the Components Library.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FHyUjg5uREPrOiFluLwdd%2FScreenshot%202023-10-16%20at%2010.52.20.png?alt=media&#x26;token=08538713-6b6f-4b1e-8bdf-373179effc96" alt=""><figcaption></figcaption></figure>

You will find  import and export icons, a remove icon, a Search bar, a "Sort by" selector and a list or grid view of your components.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2F0RN7JMJGQRPNDpJIhhRs%2FScreenshot%202023-10-16%20at%2010.56.07.png?alt=media&#x26;token=eafa0132-a5e7-4b00-8285-e02bc178ebb1" alt=""><figcaption></figcaption></figure>

## Import

You can Import a component into your Components library by uploading a suitable file.

* Click the Import icon.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2F8n4gqiyFEFsfycSUdlZo%2FScreenshot%202023-10-16%20at%2011.14.34.png?alt=media&#x26;token=0b57d05c-b3ca-4f1a-9725-d61dfee69984" alt=""><figcaption></figcaption></figure>

The Import Components modal is where you can import Components and Folders.

* Open the Components Library.
* Click the "Import Components" icon to import Components or Folders.
* Toggle the required option(s).
* Click "Upload file" and choose the file you require.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FSeJlwpwNOHhj0yrnvoby%2FScreenshot%202023-10-16%20at%2011.16.03.png?alt=media&#x26;token=fa6354e9-ae1c-40ad-bf80-ee06c08aeb05" alt=""><figcaption></figcaption></figure>

## Export Components Library

You can export the entire Components library if required.

* Open the Components Library.
* Click the "Export Components" icon to export the collection.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2F6eypQVr9lMZGIjS8WW3u%2FScreenshot%202023-10-16%20at%2011.19.45.png?alt=media&#x26;token=667f65b5-abff-4ee1-a043-c0108315c1ca" alt=""><figcaption></figcaption></figure>

## Export Individual Components

You can also export individual components.

* Open the Components LIbrary.
* Right click on the component you wish to export.
* Select "Export (file)" in the dropdown.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2F4uxQ11gN3b6xTgifLBXB%2FScreenshot%202023-10-16%20at%2011.21.46.png?alt=media&#x26;token=0ee26345-e8e0-4e64-8567-7ebe9dbb8976" alt=""><figcaption></figcaption></figure>

## Close

* Click the "X" icon to close the Components Library.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FkGgctyfEpnCGUX6tMbaF%2FScreenshot%202023-10-16%20at%2011.25.57.png?alt=media&#x26;token=276c68ca-7111-4276-9db2-ce64af9a75e0" alt=""><figcaption></figcaption></figure>

## Search Bar

You can search the Components LIbrary for a specific Component or Folder.

* Input the name of your Component or Folder in the Search Bar.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2Fb0gMJBZbdAJHZDos3aDz%2FScreenshot%202023-10-16%20at%2011.12.12.png?alt=media&#x26;token=52617945-7b6e-4c1c-8ee9-231b8dc03b0e" alt=""><figcaption></figcaption></figure>

## Sort by

The "Sort by" property allows you to sort your Components and Folders by different categories: New, Old, Folders. You can also change between Grid and List view.

* Open the Components LIbrary.
* To sort by "New", click the New button. The Components will be displayed with the Components recently added at the top.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2F8yMeqFlmwDiWRNiowgNe%2FScreenshot%202023-10-16%20at%2011.27.30.png?alt=media&#x26;token=690eaa59-2d20-4d2f-b74f-4fc828cb6e1e" alt=""><figcaption></figcaption></figure>

* To sort by "Old", click the Old button.
* The components will be displayed with the oldest components first.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FzRHsu1qJ57efLA29NyDa%2FScreenshot%202023-10-16%20at%2011.30.20.png?alt=media&#x26;token=bd2c9826-de3c-4c27-b6e9-a54272b53969" alt=""><figcaption></figcaption></figure>

* To sort by "Folders", click the Folders button.
* The components will be displayed as Folders.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2Fh8rpOjyjwGIVBkcoPIig%2FScreenshot%202023-10-16%20at%2011.34.09.png?alt=media&#x26;token=b927fd78-41a3-466d-b429-a281583a2e85" alt=""><figcaption></figcaption></figure>

## List View/Grid View Toggle

The List View/Grid View toggle allows you to toggle between displaying your Folders or Components in List form or Grid form as required.

### List View

* Toggle  to display as a list.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FjCsSOzBa8tVc5uSJm35B%2FScreenshot%202023-10-16%20at%2012.07.17.png?alt=media&#x26;token=883bde73-bcd2-4ded-8595-15eacef28d8e" alt=""><figcaption></figcaption></figure>

### Grid View

* Toggle to display as a Grid.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FNGIaqIq9iU1CYsZZ9RP0%2FScreenshot%202023-10-16%20at%2012.08.05.png?alt=media&#x26;token=f08664ca-8eb6-4e42-879d-44eb3c6f0374" alt=""><figcaption></figcaption></figure>

## Add to Canvas

The Components in theC omponents library can be added to the Canvass.

{% hint style="info" %}
Once the Component is added to the Canvass, it will need to be connected.
{% endhint %}

* Open the Components Library in the Cwicly Quick Inserter.
* Select Component you wish to add.

It will automatically be added to the canvas.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FRX4LrEq0Eqln10Grr4nG%2FScreenshot%202023-10-17%20at%2010.20.45.png?alt=media&#x26;token=c1c08c7c-88a1-4a72-8031-515c971596b0" alt=""><figcaption></figcaption></figure>

## Remove from Canvas

A component that has been added to the canvas can be removed.

* Select the component to be removed from the canvas.
* Click the "bin" icon in the toolbar to remove from canvas.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FZTGG3MbyteSgy6HVwIGN%2FScreenshot%202023-10-17%20at%2010.19.19.png?alt=media&#x26;token=f0554101-490c-45d4-a722-11e59cd37c4c" alt=""><figcaption></figcaption></figure>

## Delete

Use this property to delete the component permanently.

* To permanently delete a component, hover over the component and click the "X" icon.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FWE1ewqSa4GXZQotoLm4h%2FScreenshot%202023-10-17%20at%2010.15.46.png?alt=media&#x26;token=5d61f9f2-9397-4ae1-a54a-1071b2d96a22" alt=""><figcaption></figcaption></figure>

{% content-ref url="components-folders" %}
[components-folders](https://docs.cwicly.com/cwicly/components/components-folders)
{% endcontent-ref %}
