> For the complete documentation index, see [llms.txt](https://docs.work-relay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.work-relay.com/administration/lightning-components/components-visibility.md).

# Components visibility

Select needed component and go to right sidebar to set component visibility (1):

![](/files/eaaaf04c0e666503e457e7524ea647780205cc2d)

You can add filters to display components conditionally. Click on "Add Filters" button (2):

![](/files/1daade620b8934ed62d629c4cfe1db82bc3e9ef7)

Conditions can be based on Record fields, Related Objects fields, Device type, User fields, Permissions.

Select **Record tab** if you need to use current object fields.

Select **Device** tab to filter on user Device.

Select **Advanced** if you need to filter on Related Record fields, User Fields, Permissions.

In Advanced mode select filtering object (1), select field (2), click done (3) to filter on selected field:

![](/files/56a40171b6c443aa4acc32ce07ccf65a0dc611fa)

Set Conditions (5-7) and click "Done" button (8):

![](/files/c18eb4bddb764f8609dde6ded6f3eae720ad2562)
