Components
Last updated
Last updated
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.
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.
Components LibraryComponents Folders is more of a Components library where you can add, store, access, reorganise and delete your collection of Components Folders.
Components FoldersCustomise 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 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.
The Settings for each component are grouped under the Component name in the Block Inspector.
SettingsThe Component Properties Modal allows you to modify your existing properties and to create new ones.
Component Properties ModalThe Text Property allows you to configure a text property.
Text PropertyThe Rich Text Property allows you to add rich text to a component, such as bold, italic, underline or strikethrough.
Rich Text PropertyThe List Property allows you to add a list to a component. Input required information such as Name, Default, Placeholder, Canvas Placeholder.
List PropertyThe 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.
Link PropertyThe Image Property allows you to configure your image property. You can input a Name and choose a simple or advanced image type.
Image PropertyThe Gallery Property allows you to add a Gallery to a component, to name it, choose the data type and adjust layout and usage.
Gallery PropertyThe Icon Property allows you to configure your icon property. You can input a Name and choose a suitable icon.
Icon PropertyThe 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.
Colour PropertyThe 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.
Toggle PropertyThe 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.
Number PropertyThe 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.
Class PropertyThe 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 .
Options PropertyThe Conditions Property allows you to add Conditions to a component.
Conditions PropertyThe Visibility Property allows you to Show/Hide a block and set a default state.
Visibility PropertyCSS Text accepts any valid CSS string values.
You can add a Name, Default, and make it responsive or not as required.
CSS Text Property