The invention relates to a novel class of compounds which are capable of producing a gel in certain solvents upon contact with light. The gellation behaviour is reversible in that the gel may be dissolved again by contact with light. The invention also relates to a process for preparing the compounds and to their use in microfluidics or to create gel patterns.