Components

Components are an important Cwicly feature that allow you create independent, reusable pieces from a single place, while allowing you to consider each piece in isolation.

While templates allow you to produce many different pages from a single source, Components allow you to make many different versions of an element or group of elements without losing control over their structure or the way they behave.

Components allow you to create elements or groups of elements that you can use throughout your site, either as they are or customised to suit your needs. Since you can modify them from a single place you don’t have to revisit each one individually.

This helps maintain a consistent and efficient workflow.

You can reuse components in layouts that have the same content such as headers and footers and forms. Since you can edit them from a single place you can monitor how changes affect each part of that particular component.

Alternately, starting from a component, you can design unique content by modifying repeated layouts with customised text, image or video to give each a unique feel while keeping consistent design quality.

A Component does not need to have a containing wrapper such as a Div.

The Components Tool Bar contains Customise and Modify options which are specific to Components. It is important to understand the difference between these two options.

Components Library

The Components LIbrary regroups all your Components. You can access the Components Library from the Cwicly side

It is sorted by New, Old and Folders.

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

pageComponents Library

Components Folders

Components Folders is more of a Components library where you can add, store, access, reorganise and delete your collection of Components Folders.

pageComponents Folders

Customise

Customise allows you to customise the specific entity of the component that you want to customise. This means that other components with the same design will not be modified if you are in the Customise option.

  • Select a component.

  • In the Component Toolbar, select the "Customise" option.

Modify

Modify allows you to modify the component source itself so that any changes you make to a component in "Modify" mode, will change all the components, that is, the source.

The user role will determine access to and control over the contents of a particular Component.

  • Select the component you wish to modify.

  • In the Component Toolbar, select the "Modify" option.

  • Or in the Block Inspector click "Modify Component".

For further detail see Modify a Component.

Settings

The Settings for each component are grouped under the Component name in the Block Inspector.

pageSettings

Create a Component Property

The Component Properties Modal allows you to modify your existing properties and to create new ones.

pageComponent Properties Modal

Text Property

The Text Property allows you to configure a text property.

pageText Property

Rich Text Property

The Rich Text Property allows you to add rich text to a component, such as bold, italic, underline or strikethrough.

pageRich Text Property

List Property

The List Property allows you to add a list to a component. Input required information such as Name, Default, Placeholder, Canvas Placeholder.

pageList Property

The Link Property allows you to configure your button property. You can input a Name and choose a simple or advanced button type. Choose a Layout as required. Choose between Static and Advanced (static and dynamic) data.

pageLink Property

Image Property

The Image Property allows you to configure your image property. You can input a Name and choose a simple or advanced image type.

pageImage Property

The Gallery Property allows you to add a Gallery to a component, to name it, choose the data type and adjust layout and usage.

pageGallery Property

Icon Property

The Icon Property allows you to configure your icon property. You can input a Name and choose a suitable icon.

pageIcon Property

Colour Property

The Colour Property allows you to configure a colour property. You can input a Name, decide whether it should be responsive or not and choose a suitable default colour.

pageColour Property

Toggle Property

The Toggle Property allows you to configure a toggle state for boolean values. This means that the icon property can be shown or hidden for any property that only has two possible states (true/false).

You can input a suitable Name, and decide whether it should be shown or hidden or left unselected.

pageToggle Property

Number Property

The Number Property allows you to configure a number property such as font size, padding, width etc.

You can input a Name, decide whether it should be responsive or not, Default value, minimum, maximum or step.

You can also toggle "With Unit" on or off if you want to specify a unit.

pageNumber Property

Class Property

The Class Property allows you to configure a single (or multiple) class property(ies).

You can input a Name and decide whether a Class should be added to the selected component by default or not.

pageClass Property

Options Property

The Options Property allows you to add specific additional styles to a component other than numbers and colours.

You can input a Name, set a default style and set options for the default as required .

pageOptions Property

Conditions Property

The Conditions Property allows you to add Conditions to a component.

pageConditions Property

Visibility Property

The Visibility Property allows you to Show/Hide a block and set a default state.

pageVisibility Property

CSS Text Property

CSS Text accepts any valid CSS string values.

You can add a Name, Default, and make it responsive or not as required.

pageCSS Text Property

Last updated