Lignin-based smart materials: a roadmap to processing and synthesis for current and future applications

Biomass-derived materials are green alternatives to synthetic plastics and other fossil-based materials. Lignin, an aromatic plant polymer, is one of the most appealing renewable material precursors for smart materials capable of responding to diﬀerent stimuli. Here we review lignin-based smart materials, a research field that has seen a rapid growth during the last five years. We describe the main processing and chemical synthesis routes available for the fabrication of lignin-based smart materials, and focus on their use as sensors, biomedical systems, and shape-programmable materials. In addition to benchmarking their performance to the state of the art fossil counterparts, we identify challenges and future opportunities for the development of lignin-based smart materials towards new high-performance applications.


Introduction
The development of materials from renewable resources via sustainable methodologies is one of the most promising solutions to reduce exploitation of fossil resources that is linked to increasing greenhouse gas emissions and climate change. 1,2 In addition to synthetic polymers of renewable origin such as poly(lactide) (PLA), poly(e-caprolactone) and poly(3-hydroxybutyrate) (PHB), [3][4][5] abundant and renewable plant biomass and its natural polymeric components are attractive material precursors. 6,7 Next to cellulose, which is the most important natural polymer and constituent of plant biomass, lignin has been considered ''the black sheep'' and a low-value byproduct that is mostly combusted in lignocellulosic biorefineries and chemical pulping processes. [8][9][10] This disdain over lignin is not warranted based on its natural functions such as adding strength and rigidity to the plant cells walls, enabling transport of water, and protecting from pathogens and insects. 11,12 Lignin is synthetized mainly from p-coumaryl alcohol, coniferyl alcohol, and sinapyl alcohol monomers (Fig. 1a) via an enzyme-initiated dehydrogenation, radical coupling, and dimerization reactions, resulting in an amorphous and threedimensional (3D) material with both ether and carbon-carbon bonds. 13,14 It is impossible to give an exact molecular structure of lignin because various different isolation processes cause structural changes and insertion of new functional groups. Furthermore, lignins are usually referred to as polymers, but isolated technical lignins can also be viewed as mixtures of oligomers. For instance, lignin obtained from the kraft pulping process has an average degree of polymerization of 30 compared to a DP of about 6000 of a polystyrene.
In recent years, there have been widespread efforts to upgrade lignin towards advanced engineered materials. 15 In fact, lignin is an aromatic biopolymer gifted with numerous attractive properties such as high (460 atom%) carbon content, high thermal stability, biodegradability, antioxidant activity, absorbance of UV irradiation, and antimicrobial activity. [16][17][18][19] Beyond conventional bulk and low-cost materials such as concrete plasticizers, [20][21][22] the development of lignin-based smart materials is now emerging as the next generation of value-added applications. This new class of smart materials has the ability to convert specific stimuli to defined outputs and change or activate a functional property of the material (Fig. 1b). It has become important to provide control over these stimuli-responsive properties, and this often requires modification or insertion of new functional groups capable of changing one of their properties in a spatiotemporal fashion in response to external stimuli such as temperature, pH, light or electricity among others.
There are several excellent reviews dedicated to the synthesis and applications of lignin-based materials [23][24][25][26][27][28][29][30][31] but none of these have identified lignin-based smart materials as an emerging research field. Therefore, in this review we visit the recently published literature on the synthesis and applications of lignin-based smart materials, and make a critical comparison to the state of the art benchmark materials prepared largely from fossil-based precursors. We begin with a brief roadmap to different chemical and processing routes and continue with an analysis of lignin-based smart materials for (1) sensing and biosensing, (2) controlled encapsulation and release, especially in biomedical systems, and (3) shape memory programmable materials. Finally, we conclude with challenges and perspectives for these advanced materials in current and future applications.

Roadmap to lignin-based smart materials
There are many different routes to obtain lignin polymers, oligomers, and dimers/monomers from plant biomass and their conversion to smart materials (Fig. 2). Low molecular weight phenolic molecules can be produced from lignin by cleavage of inter-unit linkages, among which aryl ether linkages (b-O-4 0 ) typically account more than 50% of bonds formed during the polymerization process. Other relevant linkages include resinol (b-b), phenylcoumaran (b-5 0 ), biphenyl (5-5 0 ), diphenyl ether (4-O-5 0 ) and diphenyl methane (b-1), which are significantly more complicated to degrade. 32 The chemical structure of lignin is strongly related to its botanical origin and the isolation process, and recent progress in different analytical techniques have made analysis of the chemical bonds a less daunting task. 33,34 The pulp and paper industry is the primary source of technical lignin. As reviewed elsewhere, 35,36 lignin is dismantled from cellulosic fibers by thermochemical treatments, resulting in depolymerization and solubilization of lignin, while at the same time non-native ''condensed'' bonds are formed at the reactive sites. The most relevant technical lignins for material applications are lignosulfonates (LS), kraft lignin (KL), organosolv lignin (OSL) and soda lignin (SL). [37][38][39] It is important to mention that the selection of the type of lignin is strongly related to the desired application. For instance, less pure preparations might be readily accessible to lignin-derived plastics 40,41 or composites, 21,22,30 whereas highly purified or fractionated lignins should be considered for high-performance materials such as biomedical applications. 42,43 The most straightforward way is to use crude technical lignins to enhance properties of existing polymeric materials. 44,45 For instance, lignin has been used as an antioxidant and UV-shielding additive in plastics, 46,47 and stabilizer and flame retardant agent in fillers. 48,49 However, in most of these applications only a minor amount of lignin can be blended due to its inferior mechanical properties and low compatibility with many polymers. 25 Chemical modification of lignin has been postulated as the main alternative to improve its material properties for polymers. These processes increase the reactivity of lignin by targeting its functional groups such as hydroxyl, methoxyl, carbonyl, or carboxyl groups through chemical modification processes such as hydoxyalkylation, esterification, and amination, among others (Fig. 3a). 23,26,[50][51][52][53][54][55][56][57][58] Many of these chemical modifications have attempted to convert lignin macromolecules into macromonomers and subsequently graft classical monomers or polymers, and in this way, synthetize ligninbased functional polymers. 23,[26][27][28] Well-defined lignin graft copolymers can be elaborated by two main methodologies: ''grafting from'' and ''grafting to'' (Fig. 3b). In the ''grafting from'' technique, lignin is used as a macromonomer and usually monomers react with functional groups on lignin (e.g. hydroxyl groups or alkyl halide esters) in a way that the growing polymer chain is assembled on the lignin core.  Among the different ''grafting from'' polymerizations, atom transfer radical polymerization (ATRP) and ring opening polymerization (ROP) have been considered the most powerful methodologies to synthetize, in a controlled manner, well defined lignin-based polymers for multiple applications ranging from biobased composites to gene delivery systems. [59][60][61][62] In the case of the ''grafting to'' technique, a previously synthetized polymer chain is anchored to the lignin core through a functional chain end group which serves as a reactive point towards lignin. 23,[63][64][65][66] This technique presents some advantages such as the ability to tune the length of the grafted chains prior to the grafting step and the possibility to conduct a complete characterization prior to the grafting step. Among the different reactions to perform the coupling between lignin and the synthetized polymer chain, ''click'' chemistry reactions, as is the case of Cu(I)-catalyzed azide-alkyne cycloaddition (CuAAC), have emerged as the preferred option due to the formation of the desired lignin copolymers in a simple and quantitative way. 67,68 The recent years have revealed that many different types of technical lignins are suitable precursors for the synthesis of a wide range of materials. 23,24,35,36,69,70 In contrast, the greatest hurdle in the production of aromatic chemicals is the recalcitrance of lignin resulting from the pulping processes. To circumvent these barriers, catalytic fragmentation following so-called ''lignin first'' concepts have shown much greater yields and selectivity of aromatic compounds, but these processes use costly metal catalyst (e.g. Ni, Co or Rh) that are difficult to recycle from the heterogeneous reaction mixtures. [71][72][73] The resulting lignin oil fraction is enriched in low molecular weight aromatic monomers and dimers. The use of heteroatom-containing reagents for the cleavage of lignin was recently reviewed. 74 This approach offers the possibility to generate lignin-derived heteroatom-containing compounds of interest to many applications such as pharmaceutical precursors (e.g. aniline) or hydrogen storage materials (e.g. lithium phenolates and phenoxides). Other common routes to obtain aromatic chemicals from lignin is through fragmentation or depolymerization processes, which involve pyrolysis, oxidation, hydrogenation, gasification, and microbial conversion. 16,[75][76][77] These low molar mass compounds include phenol, vanillin, guaiacol, p-cresol, and catechols among others, many of which are useful starting chemicals for the design and synthesis of novel biobased polymers for different applications, through different polymerization routes including polycondensation, 78,79 acyclic diene metathesis (ADMET), 80 and controlled radical polymerization techniques. 81,82 Nevertheless, it is important to keep in mind that while a wide range of aromatic chemical products can be obtained from lignin, to date only vanillin is produced on a commercial scale (17.000 ton per year) via an alkaline oxidation method. 83 Regardless of the molecular weight or source of lignin, chemical modification is an inevitable step to smart materials. One of the routes is to activate or functionalize isolated lignin or its fractions to generate responsive molecules for smart materials (Fig. 2). Another, hitherto less studied approach is to functionalize lignin-derived monomers and use them to synthesize polymers or to modify technical lignins of higher molecular weight. The latter example comes with an added benefit of lower environmental penalty compared to the sole use of petroleum-based chemicals as sources of reactive groups. However, the chemical functionalities offered by nonfunctionalized lignin are limited in terms of polymerization or grafting sites.

Applications and materials chemistry of lignin-based smart materials
Lignin-based smart materials possess the ability to sense external stimuli and translate it into an observable response based on physiochemical changes. 27 A wide range of different stimuli are available such as pH, temperature, mechanical force or electric field and their development is usually motivated and driven by inspiration from nature. 84,85 The following sections are dedicated to the recent developments of lignin in smart materials and their selected applications.

Sensor and biosensing applications
Sensors are an important class of self-integrated devices with the ability to receive specific inputs from a surrounding media and translate them into output signals that can be transformed into a readable result. A biosensor is a device designed to be able to detect biological species of interest even in the presence of other interfering species. Likewise, lignin-based sensors have attracted considerable attention due to their ability to detect and generate quantifiable signals from complex mixtures (Table 1).
3.1.1 Lignin-based carbon and graphene quantum dots for sensing applications. Lignin-based carbon quantum dots (LCQDs) have emerged as a new class of materials in applications such as metal ion sensors, bio-imaging and biosensors. 43,[86][87][88][89][90][91] Most of the sensors formulated on LCQDs work based on the quenching or the prevention of the quenching of fluorescence emission in the presence of certain analytes such as a metal ions. 92 Among the different quenching mechanisms, LCQDs work basically by static quenching pathways, where the interaction of LCQDs and a quencher (analyte) lead to the formation of a nonfluorescent ground-state complex, which alters the absorption spectrum of LCQDs, generating a quantifiable response. 91 LCQDs are characterized by a low cytotoxicity and a good biocompatibility, but perhaps one of the most appealing features is their low cost-production from non-food resources and relative easy manufacturing process in comparison to carbon quantum dots (CQDs) based on precursors such as citric acid, 93,94 gelatins 95 and chitosan 96,97 among others, 98,99 which generally require more complex reaction conditions than LCQDs.
Chen et al. were the first to report the synthesis of LCQDs via hydrothermal processes using hydrogen peroxide (H 2 O 2 ) as an oxidizing agent. 86 However, these early LCQDs were irregular and weakly luminescent when used for biological labeling of tumorous cells (HeLa cell line). Later, LCQDs with potential theranostic applications were also developed by Rai et al. via microwave assisted depolymerization of sodium lignosulfonate followed by a carbonization process assisted by microwave irradiation. 87 After the synthesis, the LCQDs were reduced by sodium borohydride (NaBH 4 ) to lignin-based carbon quantum dots (r-LCQDs). The resulting r-LCQDs showed the ability to adsorb and release curcumin as a model drug compound at neutral pH (drug loading efficiency was 67.4% and 82% of curcumin released after 72 hours), and bio-imaging studies showed that r-LCQDs could penetrate into tumorous cells (A549 and SW480 cell lines) via simple diffusion trough the cell membrane. This work reflects the potential of these systems for therapeutic and cancer diagnosis applications. However, the attractiveness of this approach suffers from the use of NaBH 4 that is an expensive, harmful and highly sensitive reducing agent. Therefore, it is important to note that greener reducing agents such as ascorbic acid or even lignin itself should be considered for future applications. 29,100,101 Xue et al. reported the synthesis of hybrid LCQDs by one pot hydrothermal treatment of lignin with different molar ratios of citric acid and ethanediamine. 88 The resulting LCQDs showed promising results for bio-imaging applications. However, the  long reaction times and energy-consuming fabrication process make them less appealing from a synthetic point of view. Later, Shi et al. reported a facile synthesis of LCQDs by the introduction of secondary amine groups into lignin through Mannich and Michael addition reactions followed by carbonization, milling and filtration. 89 The resulting LCQDs showed an excellent performance for the detection of iron ions (Fe 3+ ) in a wide range of concentrations (1-100 nM) and lower detection limits (8 nM) compared to those of other CQDs based on foodstuff precursors as is the case of citric acid (0.3 mM) 102 or red lentils (0.10 mM) 103 among others 104,105 ( Fig. 4a and b). Moreover, fluorescence imaging demonstrated excellent image quality and biocompatibility of the LCQDs uptaken by biological cells. 89 It is also important to point out that heteroatom doping with elements such as nitrogen or boron is a viable strategy towards increasing the quantum yields (QY) associated with high fluorescence response. 88,89 For instance, Ding et al. prepared blue fluorescent LCQDs from kraft lignin via a two-step process involving sonication in nitric acid followed by hydrothermal treatment. 90 However, the prepared LCQDs contained a large number of defects which inhibits their use in certain applications such as in bioimaging where broad absorption and high QY are required. More recently, Zhang et al. also reported the preparation and LCQDs with bright green fluorescence from kraft lignin by a simple one-pot method. 91 In this case the prepared LCQDs revealed notable luminescence properties to be applied in cell imaging applications and also as ion detection sensors, with high sensitivity towards silver ion (Ag + ) ( Fig. 4c-e), comparable to those reported previously for other CQDs based on foodstuff precursors such as broccoli. 106 In a different approach, Niu et al. reported the use of cellulolytic enzymatic lignin (CEL) for the synthesis of LCQDs via p-p electric interactions induced molecular aggregation using ethanol as solvent. 43 This methodology enables the synthesis of LCQDs without hydrothermal carbonization by the aggregation induced emission (AIE) effect. The LCQDs exhibited one-and two-photon fluorescence emission (320 and 800 nm) and biocompatibility with HeLa cells. These properties of the LCQDs together with their absorption of near-infrared (NIR) light make these materials promising for bio-imaging applications.
Synthesis of lignin-based graphene quantum dots (LGQDs) was recently demonstrated by using recyclable ortho-aminobenzenesulfonic acid as solvent to prepare lignin nanoparticles (LNPs) followed by their transformation into LGQDs by hydrothermal carbonization. 107 The LGQDs were applied as sensitive probes for the detection H 2 O 2 , a common oxidant in biological systems, due to their high UV absorbance and good biocompatibility properties. The LGQDs exhibited efficient fluorescence quenching in response H 2 O 2 concentrations as low as 0.13 nM, representing a significant improvement compared to those reported previously for graphene QDs (0.15-3 mM). 108,109 Such a high sensitivity towards H 2 O 2 was rationalized later through a detailed density functional theory (DFT) study, which revealed that the sulfonyl group localized in the middle of LGQDs serves as the specific binding site towards H 2 O 2 . 107 3.1.2 Lignin as a precursor for the preparation of biosensors. Biosensor electrodes have been constructed from lignin not only because of its low cost, but also due to its relative good compatibility with some polymeric matrixes. [110][111][112] Ligninbased biosensors consist of composites incorporating biomolecules such as enzymes or non-catalytic peptides and proteins. Generally, the response of the systems is a result of the capture of the biomolecules present in biological samples (e.g. glucose), 111 which produces changes in the surrounding medium or macroscopic properties of the system such as pH, temperature or electrical conductivity that can be translated to a quantifiable response. In this context, Cerrutti et al. reported the fabrication of an immunosensor by depositing layer by layer (LbL) films composed of an antigenic peptide (p17-1) and lignin onto gold electrodes. 110 The resulting immunosensor showed a sensitivity lower than 0.1 ng mL À1 , however still higher compared to other reported biosensors, [113][114][115] towards the recognition of an antibody (Ab) associated with the human immunodeficiency virus (HIV). In addition, the immunosensors preserved their activity for more than two months, which is superior to many enzyme-based immunosensors, whose lifetime is normally limited to 4-6 weeks. 116 Later, Jędrzak et al. developed a biocatalytic sensor using silica/lignin hybrid material as a matrix to immobilize glucose oxidase (GOx), followed by the electrode preparation using graphite as dispersing agent and ferrocene as redox mediator ( Fig. 5a and b). 111 The presence of lignin in the original immobilization matrix allowed a significant improvement on enzyme immobilization (25 mg g À1 of GOx) compared to only silica (12.88 mg g À1 ), which demonstrated the benefits to incorporate lignin in this material. The biosensor showed a linear response to glucose in the range of 0.5-9 mM with a detection limit of 145 mM, comparable to those reported for other systems. [117][118][119] Moreover, the prepared biosensors also demonstrated feasibility to determine glucose in biological samples with low standard deviation values (less than 3%). 111 The same group reported magnetite/ lignin nanoparticles as an efficient matrix to immobilize GOx and fabricate glucose biosensors with similar properties than the previously mentioned. 112 Aside from the integration of lignin to develop electrodes for sensor applications, lignins have also proven to be useful matrices for the design of other ligninbased composites for sensing applications, as is the case of flexible pressure sensors for wearable electronics based on lignin/polydimethylsiloxane ( Fig. 5c and d), 120 humidity sensors based on lignin/graphene oxide 121 or organohydrogels as strain sensors 122 (Fig. 5e).
3.1.3 Synthesis of lignin-based nanomaterials and composites for sensing applications. Lignin-based polymers have also attracted attention in the preparation of carbon nanotubes for sensing applications. Here, the interest in lignin lies in its rigid polyaromatic structure and the presence of different functional groups such as carboxylic acid and phenolic hydroxyl groups which can chelate cationic substances such as transition metals. 123,124 For instance, Faria et al. synthetized lignin-polyurethane copolymers doped with carbon nanotubes for the detection of chromate ions at acidic pH and with potential application as ion-selective membranes. 123 In the same vein, Rudnitskaya et al. reported lignin-poly(propylene oxide) copolymers doped with carbon nanotubes as an efficient sensor to detect chromate ions in acidic media by the co-polymerization of isocyanate terminated poly(propylene glycol) with hydroxyl-terminated lignin. 124 Compared to kraft lignin and organosolv lignin, lignosulfonate displayed better sensitivity in this application, which can be attributed to the presence of sulfonic acid groups with the lowest pK a among these lignins. Nevertheless, one of the major drawbacks of these materials as potential precursors for the fabrication of selective membranes is the poor control and reproducibility over the final material morphology due to the uncontrolled nature of polycondesation reactions, which usually results in partially crosslinked materials that are difficult to recycle. 125 To address this shortcoming, one option could be to use controlled polymerization techniques such as ATRP, but then a careful selection of monomer and reaction parameters (e.g. Cu source, solvent and ligand) 126 would be necessary in order not to compromise the production cost, which ultimately can hamper the potential use of lignin in the preparation of these materials.
Chemical modification of lignin has also proved to be an efficient approach to synthetize stimuli-responsive materials for sensing applications. In this sense, Xue et al. developed a ratiometric fluorescent pH-sensitive probe by grafting rhodamine B to sodium lignosulfonate. 127 The resulting modified lignin showed a rapid response based on a conformational change in the Rhodamine moiety to pH variations (from 4.6 to 6.2 with a pK a of 5.35) which was then exploited for the detection of acidic organelles. The biological studies showed good biocompatibility of the resulting probe and the ability to differentiate normal cells (HL-7702) from cancer cells (SMMC-7721, HepG2). Although these pH-sensitive probes showed potential in sensor applications, the possibility to target the delivery of drugs to determined sites 128 by chemical modification should be considered for potential nanotheranostic applications as has been previously demonstrated with LCQDs. 87 On the same stream, kraft lignin have also been used as a template to graft porphyrins, and generate ligninporphyrin polymers (Al-CTPP) with an extension of UV-vis absorbance and photoluminescence regions of lignin together with an enhancement of solvent compatibility of porphyrin in water-dominant environments at different pH. 129 In addition, these lignin-porphyrin polymers showed linear correlations between the absorbance of Al-CTPP and concentration of several heavy metals ions (Mn 2+ , Ni 2+ , Co 2+ , Cu 2+ and Zn 2+ ) suggesting their potential as heavy metal sensor.
3.1.4 Lignin nanoparticles as platform for sensing applications. Lignin nanoparticles (LNPs) have been employed for active-substance loading and release applications due to their low cost and functional properties (antioxidant and UV-barrier properties). 130  to use CEL nanoparticles (CEL-NPs) as sensor for formaldehyde. 133 The basis of the approach relies in the inherent fluorescence emission of CEL-NPs produced by aggregation induced emission effect. Absorption spectra at different concentration of CEL-NPs were used to corroborate the presence of p-p aggregates above a concentration of 0.02 mg mL À1 . In addition, CEL-NPs showed a concentration dependent enhancement of fluorescence after the addition of formaldehyde with a detection limit (LOD) of 8 mM, which is comparable to conventional synthetic fluorescent sensors of formaldehyde. 134 Later, Xue et al. demonstrated an elegant and easy preparation of alkali lignin-coated Ag-nanoparticles using Ag 2 O as silver precursor, DMSO as solvent and a Lewis acid catalyst, 135 and so avoided the use of harsh reducing agents such as NaBH 4 , thiols or sodium hydroxide. 136,137 The resulting AL@Ag NPs were also applied as calorimetric sensor for Hg 2+ at neutral pH, demonstrating a fast and high specificity towards this analyte in a wide range of concentrations (0.2-20 ppm), similar to classical sensors described for Hg from renewable resources such as chitosan ( Fig. 6a-c). 138 In the same domain, Ag NPs have also been synthetized using lignin as a reducing and capping agent for the colorimetric sensing of nickel (Ni 2+ ) 139 and mercury (Hg 2+ ). 140 Despite the above examples on the use of LNPs for sensing applications, most of the lignin-based sensor materials presented herein have been designed using crude technical lignins. 43,86,123,124 The main disadvantage of these crude lignins arises from their complex and irregular structure, which often comes in form of a structurally and physicochemical heterogeneous mixture of substances that can jeopardize the final applications. For instance, in the case of LCQDs the structural defects can hamper the fluorescence response 90 and in lignin-based sensors the extent of structural regularity influences the reproducibility and quality of the final materials. 124 Therefore, we urge to exploit the use of LNPs for the development of lignin-based sensors because these colloidal particles offer the possibility to control the shape, size, and surface topology depending the final application. 132 Moreover, LNPs also hold a great potential to immobilize ''target'' biomolecules via non-covalent interactions and development of new ligninbased biosensor systems in the future. 141

Biomedical applications
Lignin-based smart materials predesigned for biomedical applications have mainly been based on lignin-based polymers. The grafting polymer is selected to give responsiveness to temperature and pH, the two by far the most well-studied and understood responses in biological systems. [142][143][144] For instance, thermoresponsive lignin-based materials usually incorporate in their structure polymers with lower critical solution temperature (LCST), which is the lower boundary for demixing via coilglobule transition mechanism. 144 Below the LCST, the polymer chains exist as random coils due to mainly hydrogen bond interactions between polymers and water, forming one homogeneous mixed phase. Above the LCST, the phase separation occurs due to a collapse of the polymeric chains to globular structures. This temperature transition has been exploited in loading and delivery of active compounds or to change the morphology of lignin-based hydrogels. In the case of pH as target stimuli, lignin-based polymers either act as sacrificially solubilized polymers or incorporate polymers with pH-responsive compounds that have ionizable functional groups capable of donating or accepting protons upon environmental pH changes. 142 This ionization process promotes an imbalance between the hydrophobic/hydrophilic ratio of the material, which disrupts the stability of the nanoassemblies and enhances the release of active compounds.
3.2.1 Lignin-based nano/microparticles and capsules. Advanced nanomaterials with the ability to encapsulate and release compounds under the application of specific stimuli have received a tremendous attention recently, particularly in the field of nanomedicine. 145,146 In this context, stimuliresponsive polymers have occupied a prominent place owing to their capability to deliver substances of interest into desired locations in response to various different specific stimuli. 147 Recently, lignin has also emerged as an excellent candidate for loading-release applications due to its relatively low toxicity, biodegradability, high stability, and pH-dependent solubility. 130,132 As has been mentioned, lignin-based smart materials for loading/ release applications are obtained by the copolymerization or modification with sensitive monomers such as acrylic acid (sensitive to pH), 142 or N-isopropylacrylamide (NIPAM) 143,144 (sensitive to temperature) among others [148][149][150] (Table 2). However, it is important to mention that lignin can also be considered as a smart material of potential interest by itself. For instance, LNPs which have often been employed as carriers for active substances have showed a pH-dependent stability related to their surface charge (decreasing z-potential with increasing pH). This trait has been exploited in loading and releasing of different active substances (drugs, agrochemicals, etc.) at different pH values. 151,152 Chemical modification of lignin instead of the polymer grafting strategy has also been demonstrated to be a useful route towards pH-responsive LNPs for drug delivery applications. [153][154][155] For instance, Chen et al. synthesized pH-responsive lignin-based nanocapsules with the ability to load and release hydrophobic model compounds. 153 In their approach, lignosulfonate was modified with allyl groups in a classical esterification reaction followed by the preparation of the nanocapsules via an interfacial miniemulsion reaction, in which the modified lignin reacted with an acid-labile thiolbased crosslinking agent at the interface of miniemulsion droplets to form the nanocapsules through a thiol-ene coupling reaction ( Fig. 7a and b). The resulting capsules exhibited a particle size ranging from 100 to 400 nm and their potential application as nanocarriers was evaluated using coumarin-6 as a hydrophobic model compound. The entrapment efficiency (EE) was determined to be 84%, demonstrating a high loading concentration of this system (0.713 mmol g À1 based on the weight of the modified lignosulfonate). In addition, release studies from coumarin-6 loaded nanocapsules under neutral (pH = 7.4) and slightly acidic (pH = 4.0) conditions revealed a higher release rate under acidic (60%) compared to neutral (40%) conditions after 48 hours. The difference in the release rates suggests hydrolytic response of the acid-labile b-thiopropionate cross-linkages, which makes these lignin-based nanocapsules promising nanocarriers for drug delivery systems. Later, Zhao et al. reported the synthesis of ligninhistidine (L-His) conjugates through the amination reaction between lignin and histidine. 154 After the conjugation, L-His showed the ability to self-assemble in water to form homogenous nanoparticles with an average diameter of 30-40 nm, encapsulate hydroxycamptothecin (HCPT) as a drug model with moderate EE values (40%) and triggered release in different media. In addition, carboxylation of lignin has also proved to be an efficient approach for the fabrication of pH-responsive LNPs for controlled release. 155 Figueiredo et al. reported the synthesis of complex pH-responsive LNPs for drug delivery and biomedical applications. 150 In a first stage, kraft lignin was carboxylated in order to obtain carboxylated lignin nanoparticles (CLNPs) with an increased amount of carboxyl groups as reactive sites for grafting PEG, polyhistidine (PHIS) and a cell-penetrating peptide via EDC/NHS peptide coupling chemistry. The resulting nanoparticles showed an increased circulation in the bloodstream and also pH-responsive behavior. Cytotoxicity studies revealed a high biocompatibility with 4 80% of cell viability and the ability to load (with an EE corresponding to 50%) and release benzazulene (BZL) as a model drug compound under physiological (pH = 7.4) and acidic (pH = 5.5) conditions with higher release rates in acidic media. Furthermore, in vivo studies also proved the high selectivity of this system through a lower release of BZL in  physiological environment, causing less toxic effects to the normal cells than to the targeted tumorous cells. pH-Responsive lignin-based micellar nanoassemblies with the ability to load ibuprofen (IBU) at high EE (84%), have also been recently reported by grafting methacrylic acid (MMA) to lignin through a free radical polymerization process. 156 The resulting lignin-g-PMMA was able to self-assemble into micelles (diameter approximately 100 nm) and control the release of IBU. In vitro release experiments showed only 16% release of IBU in a simulated gastric fluid (pH 1.5), while in a neutral simulated intestinal fluid (pH 7.4) an accumulated release of 81% was determined. This tunable release of IBU can be rationalized by the ionization of acidic groups at low pH, which protects the corona of the micellar nanoassemblies and avoids the release of the active compound at low range of pH values. In vivo studies furthermore demonstrated a certain inhibitory effect towards proliferation of colon cancer cells (NIH-3T3), while presenting low cytotoxicity to normal cells. Similar pH-responsive release processes have been observed in alkali lignins by the of ionization of carboxylic groups. 151,155 However, it is important to mention that this release behavior also depends on the solubility properties of the loaded compounds as in the case of coumarin-6 that was released more efficiently under mildly acidic conditions compared to neutral pH. 153 Qian et al. also developed another type of smart LNPs by grafting dimethylaminoethyl acrylate (DEAEMA) monomer into a kraft lignin core by ATRP. 149 The resulting lignin-g-PDEAEMA copolymer could be easily dispersed in water to form LNPs upon CO 2 gas bubbling, and to initiate aggregation and eventual precipitation by N 2 gas bubbling. This CO 2 /N 2 switching ability is conferred by the presence of DEAEMA based on a reversible protonation of amine groups catalyzed by the acidic CO 2 , and is tailored by the graft density and chain length of the DEAEMA units. These modified LNPs showed a promising potential as surfactants for Pickering emulsions. Stable Pickering emulsion were prepared using decane as an oil phase with only 1 wt% of LNPs; the emulsions remained stable for more than one month without any phase separation and exhibited a gas triggered de-emulsification/re-emulsification behavior. CO 2 /N 2 bubbling cycles demonstrated that bubbling with CO 2 allowed a complete emulsion breaking with the consequent phase separation, while N 2 bubbling resulted in re-emulsification of the mixture (Fig. 7c and d). The authors claimed that such smart lignin surfactants could be of great potential as drug delivery systems, but no drug release and cytotoxicity studies were demonstrated. More recently, Dai et al. reported the synthesis of thermoresponsive lignin nanoparticles by grafting NIPAM into lignin via ATRP and self-assembly in water, successively. 144 These copolymer nanoparticles were used as smart surfactants to stabilize trans-resveratrol (trans-RSV)containing palm oil in water Pickering emulsion droplets. Combining the thermoresponsive and UV resistance properties in lignin-g-PNIPAM NPs, this stimuli-responsive Pickering emulsion system showed an improved performance on the controlled release and light stability of trans-RSV in comparison to other systems based on polymeric nanoparticles 157,158 (Fig. 7e and f).
Additionally, these Pickering emulsions showed remarkably good biocompatibility (around 100% cell viability of A549 cells at a wide range of concentrations), improved solubility and antiradical efficiency as compared to free trans-RSV in water. The inherent combination of lignin properties (UV-protection) together with the thermoresponsive behavior of NIPAM could be of renewed interest for drug delivery systems for the storage of light-sensitive and poorly water-soluble drugs. In the same vein, Peng et al. also harnessed the UV-shielding properties of lignin to fabricate avermectin-containing emulsions using microspheres with tunable surface charge and composed of sodium lignosulfonate and cetyltrimethylammonium bromide (CTAB). 159 The resulting emulsions showed sustained release behavior (ranging from 56-80% in 60 h), and an improved light-storage stability of 2.18-2.96 times higher in comparison to commercial avermectin emulsifiers.
As has been discussed above, lignin-based smart material for drug loading and release applications have mainly been based on the development of lignin-based polymers with the ability to form pH-responsive LNPs. 150,[153][154][155] Indeed, pH is without any doubt one of the most attractive stimuli since different parts of the body and cellular compartments present some variations in pH values which could be exploited to trigger selective release of drugs. 160 However, there are also many other stimuli in biological systems which can be exploited as is the case of redox potential, 161 endogenous gases 162 or certain enzymes, 163 which have been already integrated and employed in classical stimuli-responsive polymers, 147 while literature is lacking such reports on lignin-based smart materials. Therefore, we urge to expand the development lignin-based polymeric materials integrating other attractive stimuli or even the combination of them in order to generate materials with synergistic simultaneous action as in the case of their predecessor polymeric materials. [164][165][166] Another relevant issue is that the systems described above are based on covalent functionalization of lignin with the final aim to introduce stimuli-responsive behavior and control over the release properties. However, non-covalent functionalization is also an appealing approach in terms of synthetic preparation and potential reversibility of functionalization, and therefore should also be considered as an efficient alternative for the design of stimuli-responsive materials. For instance, LNPs with negative surface charge have been used to adsorb cationic polymers such as poly(diallyldimethylammonium chloride) (PDADMAC), 167,168 chitosan 169 and water-soluble cationized lignin. 170 The resulting LNPs with a cationic surface charge have been demonstrated as efficient supports for enzyme immobilization and biocatalysis, 168,171,172 but could be also considered as a promising platform for the future development of smart confined biocapsules not only for drug release applications but also for the design or more complex materials such as bio-inspired nanomotors, already developed with conventional polymeric materials. 173,174 3.2.2 Lignin-based smart hydrogels. Another important class of stimuli-responsive lignin materials with potential for drug delivery applications and tissue engineering is lignin-based hydrogels. Their porous structure shares similarities with the biological extracellular matrix, and the stimuli-dependent swellability in water plays and important role for drug delivery applications (Fig. 8a). 142,143,148 As smart biomaterial, lignin based-hydrogels have been programmed to be sensitive to pH and temperature, the two most common stimuli employed in biomaterial and biomedical applications. By grafting temperature-sensitive monomers into a lignin core, thermoresponsive lignin-based hydrogels have been synthetized for phase transitions at close to body temperatures. Diao et al.
reported the synthesis of termogelling copolymers by the copolymerization of NIPAM, PEG and poly(propylene glycol) (PPG) using ATRP as the polymerization methodology. 148 The resulting copolymers exhibited a thermogelling behavior at 32-34 1C with the consequent formation of the corresponding hydrogels. The lignin-based hydrogels showed a low gelation concentration in the range of 1.3 to 2.5 wt% and highly tunable mechanical and rheological properties by simple modification of the weight ratio of lignin (from 5% to 40%) in the system. Feng et al. also reported the synthesis of thermoresponsive lignin-based hydrogels by grafting carboxylated lignin with NIPAM using N,N 0 -methylenebisacrylamide as a crosslinker and hydrogen peroxide as an initiator. 175 The resulting ligninbased hydrogels showed a low critical solution temperature (LCST) of 32 1C that dramatically decreased the swelling ratio (from 41000% to 200%), indicating potential use as smart materials for biomedical applications. In another work, Kai et al. also introduced lignin-based hydrogels with thermo-and mechanical responsiveness by the preparation of lignin grafted copolymers with PEGMA. 176 The resulting lignin copolymer could self-assemble into supramolecular hydrogels when mixed with a-cyclodextrin (a-CD) via reversible host-guest inclusion complexation. The authors described that as low as 1 wt% of lignin-based copolymers were able to form stable hydrogels at body temperature and the lignin core was important in the gelation process, since it provided control over the oscillation strain, which ultimately defines the transition from a solid-like hydrogel into a liquid-like state (form/state-response) (Fig. 8b-d).
Additionally, these hydrogels showed a good biocompatibility and potential for tissue engineering materials. More recently, temperature-and pH-responsive ligninbased hydrogels have also been synthetized via free radical polymerization. 142,143 Jin et al. reported the preparation of a lignin-based hydrogel by the copolymerization of NIPAM, itaconic acid and methacrylate functionalized sodium lignosulfonate. 142 The prepared hydrogels showed a reduction in the swelling capacity (from 31.6 to 19.1 g g À1 ) with the increase of lignin content (from 3.7% to 14.3%), revealing a lignin-dependent water absorption. In addition, phase transition temperature values around the body temperature together with a broad pH responsive range (from pH 3 to 9) make them interesting candidates for drug release applications (Fig. 8e-g). However, the poor control over the material structure generally resulting from free radical polymerization methodologies and the difficult reproducibility in the synthesis could be critical barriers to overcome when scaling up the production. 3.2.3 Technical challenges in lignin-based smart materials for biomedical applications. Although the above studies demonstrated the potential of using lignin in the fabrication of biomedical materials, there are also some concerns that need to be addressed. For instance, the selection of a lignin source is a critical question since many technical lignins contain impurities such as ions coming from the extraction process which could be toxic. 36 The use of alternative lignins as is the case of CEL will reduce the problem but not fully resolve it. Therefore, it is mandatory to increase the purity of the starting materials and understand their reactivity in order to control the cytotoxicity of these lignin-based materials. 177,178 Other consideration is related to improving the methodology to synthetize LNPs. These nanostructures are usually synthetized by solvent-exchange methodology which involves the use of harmful organic solvents such as THF 167,179 and acetone, 180 which could jeopardize the final application. Recently, first steps to address this issue have been reported with the use of ethanol as an alternative solvent. However, the concentration of LNPs that can be prepared is only about one fifth from that achieved with THF or acetone. 151,181 In this context, expanding the limited palette of solvents suitable for the preparation of LNPs and including new non-toxic solvents is important. 182 Especially biomass-derived solvents such as ethyl lactate already used in the production of polymeric materials could be assessed in the future. 183 Although frequently neglected, another important consideration about these lignin nanomaterials is their biodegradability. While many of the reports focus strictly their attention on the cytotoxicity and biocompatibility studies, the biodegradability of these materials remains largely unexplored. It is well known that lignin can be partially decomposed by enzymes, 16,184 but most of these smart materials described above are based on chemical modification of lignin, which probably disrupts the degradability process. For instance, cross-linked lignin materials are likely drastically less biodegradable and the absence of phenolic hydroxyl groups hinders accessibility of these primary sites in enzymatic degradation processes. Therefore, more data should be collected regarding the biodegradability of lignin-based smart materials and the nature of the degradation products.

Shape-programmable materials
Shape memory materials are capable of fixing temporally ''programmed'' shapes and returning to the original shape by the application of external stimuli such as temperature, 185 light, 186 electricity, 187 moisture 188 or magnetism. 189 These materials are widespread in the field of polymer science due to their attractive properties for biomedical applications, 85 such as polymericbased actuators which have been used as artificial muscles for the fabrication of blood vessel connections or microvalves to regulate the urinary incontinence, among others. [190][191][192] Lignin by itself displays a high glass transition temperature (T g ) (from 90 1C to 145 1C, depending on the source and type of isolation process), owing to its rigid aromatic backbone and strong intra and intermolecular interactions (mainly hydrogen bonding and p-p stacking interactions). When lignin is modified for use as a macromonomer, this inherent nature usually leads to materials with thermosetting characteristics, which could be further designed to act as shape memory materials for smart applications. In this context, Xu et al. reported the synthesis of ligninbased thermosets exhibiting tunable mechanical properties and shape memory behaviour. 193 These thermosets were synthetized in a simple approach using crude kraft lignin without any chemical modification, citric acid as a cross-linking agent and PEG as a reactive diluent and soft segment. PEG facilitated the cross-linking reaction and balanced the final mechanical properties by increasing the dispersion of all the components, but also provided materials with excellent shape memory characteristics such as 99% recovery rate and 95% fixity ratio, which indicate how well the shape is recovered and the ability to fix the mechanical deformation, respectively. These values are comparable to those reported for other thermoset composites based on epoxy resins or polybenzoxazines. 194 Although this approach is attractive in terms of synthetic preparation and low costproduction, there still remains a major concern related to the difficult recyclability of thermosetting materials, since most of them are disposed of via incineration or landfilling.
To overcome the rigidity issue of lignin, the incorporation of vitrimer chemistry into the preparation of thermosets has gained attention. 195,196 Incorporation of dynamic covalent linkages that can be stimulated by heat or UV light into crosslinked structures results in rearrangements in the material topology, imparting improved malleability and recyclability (Fig. 9a). 197,198 In this stream, Zhang et al. reported the first example of lignin-based vitrimer material with shape memory behavior by the reaction of ozonated lignin with sebacic acid derived epoxy in the presence of a zinc catalyst (Fig. 9b). 199 Zn 2+ ions catalyzed transesterification reactions in the cross-linked network via associative exchange pathway (Fig. 9a), which resulted in a thermoset material with shape-memory, selfhealing and malleability properties (Fig. 9c). Moreover, these lignin-based vitrimers revealed interesting features as adhesives when adhered to aluminum sheets, with a lap-shear strength value of 6.3 MPa comparable to epoxy-based adhesives such as the commercial epoxy glue with a lap-shear strength of 8 MPa, 200 or bisphenol A -based epoxy adhesives with a lap-shear strength values of 4-6 MPa 201 (Fig. 9d).
However, perhaps one of the main disadvantages of this approach relies in the narrow scope of functional groups presents in lignin, mainly limited to hydroxyl and phenolic groups. This fact could restrict the introduction of a wide palette of interesting dynamic covalent linkages based for instance on amino functional groups and urethane chemistry. 198,202 Chemical modification of lignin (Fig. 3a) could of course be a possibility to increase the scope of dynamic covalent linkages, albeit at a cost of an additional synthetic step.
3.3.1 Lignin-based elastomeric and thermoplastic elastomer materials with shape-memory behaviour. Lignin-based elastomeric and thermoplastic elastomeric materials with tunable shape memory properties have emerged in the last few years. [203][204][205][206][207][208] These materials are based on the use of lignin as a hard segment ''plastic phase'' and the grafting of polymers with low T g as a ''soft phase'' in cross-linked-like structures. One of the two phases act as a ''switch'' capable of undergoing a phase transition or change in conformation, while the other remains immobile and allows the material to ''remember'' its original shape. Most of these lignin-based materials have been programmed to be sensitive to temperature, based on the combination of the glass transition of grafted polymers with lignin, together with the reversible dissociation of self-complementary non-covalent bonding (e.g. hydrogen bonding) and by controlling the cross-linking density. 203,204,208 Pioneering works in the development of these lignin-based materials were reported by McDonald's group, who synthesized thermally-stimulable shape memory elastomers from lignin and glycerol-adipic acid based hyperbranched prepolymers. 203 In the first step, hyperbranched prepolymers were synthetized by melt polycondensation reaction of glycerol, adipic acid and the addition of di-and tri-functional amines as cross-linking points.
After that, the prepolymers were reacted with soda lignin via bulk polycondensation reaction to afford the corresponding shape memory elastomers. The obtained elastomers presented tunable T g as well as shape transition temperature values ranging from À10 1C to 40 1C by varying the amount of the amine additives. Dynamic mechanical analysis (DMA) via a stress controlled cyclic thermomechanical test revealed that the materials exhibited a dual shape memory behavior with 94% recovery rate and 99% fixity rate. Later, the same group reported the preparation of lignin-based elastomeric materials with triple shape memory by the polymerization of soda lignin with a new hyperbranched poly(ester-amine-amide) containing amine cores and amide linkages. 204 The presence of a broadened T g in these materials revealed a mixed phase by the coexistence of two networks within lignin (polyester-amine and polyesteramine-amide) comprising covalent and physical cross-linked points, which were responsible for the triple shape memory behavior. As in the previous case, the shape memory behavior of these materials was evaluated by a stress-controlled cyclic thermomechanical test, which confirmed a reasonable triple shape memory behavior (fixity rate reached 41% and 92%, while recovery rates reached 40% and 86%, respectively for the 1st and 2nd shape recovery stage). These results were explained on the ground of the combined effect of increased covalent cross-linking and dissociation of self-complementary physical hydrogen bonding present in the network. Interestingly, it was also found that the first recovery stage was associated to the lignin-poly(ester-amine) network and the second one to the lignin(ester-amide) segments, which indicates the important role of physical cross-linking to obtain these types of materials. Although these were the first examples of lignin-based elastomeric shape memory materials with multiple shape memory behavior, the properties are far behind those of conventional polymeric materials (fixing and recovery rate up to 95%). 209,210 In this sense, increasing the polymer compatibility and dispersibility of lignin seems to be crucial aspects, in addition to the use of sacrificial bonds capable to dissipate energy, eliminate stress, and promote the orientation of chain segments, which are all appealing strategies towards the development of future materials. 208,211 More recently, Liu et al. reported the synthesis of lignincross-linked polycrapolactone (PCL) copolymers as elastomeric materials with shape memory behavior using lignin as a core segment for the cross-linking. 205 This approach was based on a thiol-ene coupling reaction between a thiol terminated fourarm PCL with an alkene-modified kraft lignin. The prepared lignin-copolymers revealed tunable melting temperatures (T m ) by the variation of lignin content (from 10 to 40 wt%). Moreover, the authors claimed that the shape memory process is efficient and the recovery is immediate which could make these materials interesting candidates for biomedical applications, in which self-expansion times of less than 60 seconds are required. 212 However, the reported phase transition temperature was found to be 80 1C, which is unfit for biomedical applications, in which activating temperatures are instead governed by the thermoregulations of the human body. 213 Lignin-based thermoplastic elastomers (Lig-TPEs) with shape memory behavior combine both thermoplastic and elastomeric properties, together with a stimuli responsive behavior. 25,41 In this context, Nguyen et al. recently reported the preparation of Lig-TPEs based on acrylonitrile-butadiene-lignin composites (ABL) with a high lignin content (40-60 wt %), via crosslinking of lignin with an acrylonitrile-butadiene rubber (NBR) by a thermal compounding process. 206 The resulting ABL materials showed excellent shape memory behavior as a consequence of chemical cross-links in the inherent structure of NBR and the intrinsic networked structures of lignin, which complemented physical cross-links formed by hydrogen bonds within lignin and nitrile rubber molecules ( Fig. 10a and b). In addition, the authors also reported the preparation of a programmable and Fig. 10 Lig-TPEs as shape programmable material: (a) three-dimensional graph of one cycle of deformation, fixing and recovery in ABL material; (b) the corresponding programmed shape recovery of ABL networks with a magnified view showing a network structure of a nitrile-butadiene elastomer (NBR) and lignin in the presence of hydrogen bonds formed by -OH and -CRN groups; (c) principle of switchable and programmable electrical conductivity of a silver nanoparticle layer assembled on a shape-memory substrate; (d and e) initial, after fixing/shape programming, and after restoring shape and resistance of the shape-programmed electrically conducting material. Adapted with permission from ref. 206. Copyright r 2018, American Chemical Society. switchable conducting material by depositing silver (Ag) nanoparticles on the surface of an ABL specimen. After the coating process, this new material could be shape-programmed to respond to an external stress at ambient temperature for multiple times, revealing an increase in the resistance from 0.46 kO to 2.86 kO during the process (Fig. 10d). Moreover, after the applied external force was switched off, the shape-programmed sample recovered its original shape and resistance (0.47 kO) which was associated to a reversible breaking of particle percolation (Fig. 10c and e). These new shape-programmable conductive materials with the ability to sense changes in the resistance induced by changes in applied stress could be of potential interest for the development of new motion sensors such as human motion tracking sensors. 214 However, further work is required to engineer the T g values for these materials (ranging from À2.5 to 11 1C) closer to ambient temperatures to broaden their stress-strain sensing window for potential applications. In this context, improvement of thermomechanical properties of these ABL materials (increasing of 18 1C in T g values and more than 230% increasing in the storage modulus (E 0 )) were later reported by the same group, applying a thermal annealing process, which enhanced the crosslink density by the generation of radicals from lignin. 207 It is important to mention that the obtained materials still maintained good shape memory behavior and therefore this approach could be considered of interest to tune the thermomechanical properties of these Lig-TPEs and make them more attractive for a wide range of applications where high T g values are required.
Another approach to improve the mechanical properties and shape memory behavior of Lig-TPEs was reported by Huang et al. who used sacrificial bonds based on the presence of Zn-mediated coordination bonds in the interface of lignin and a non-polar elastomeric polyolefin ( Fig. 11a and b). 208 The presence of these sacrificial bonds was found to promote the dispersion of lignin with a particle size around 200 nm, but also to improve the interfacial interaction of lignin and polyolefin elastomeric matrix, which results in a more accessible orientation of the chain segments during the stretching with the consequent improvement on shape-memory characteristics of the material (fixing rate and recovery rate values up to 87%). Indeed, the synergistic coordination effect of lignin promoted a higher energy dissipation together with an improvement of toughness and strength of these Lig-TPEs, rendering them comparable to commercial TPEs such as polyolefin blends-based materials in which the plastic phase comes from petroleumderived sources. 215,216 Overall, harnessing intrinsic material properties of lignin holds many opportunities for future development of high-performance and cost-effective TPEs.
The development of lignin-based materials with ''programmable'' shape memory behavior is a fascinating field with multiple potential applications as has been described above. However, it is also important to note that all of the materials presented above are capable of responding to temperature as the only stimulus. In that context, light-driven lignin-based shape memory materials appear as an appealing option in the horizon because light stimuli offer flexibility in terms of spatiotemporal control. One could envision that the development of these materials will logically require the use of lightresponsive monomers (e.g. azobenzenes) able to produce changes in response to light via isomerization processes among others. 217,218 However, it must be noted that some properties that make lignin attractive for other applications such as a high UV-absorbance, 144,156 can play a negative role by the partial or total inhibition of these light-induced processes and affect the final performance of the lignin-based actuator. Therefore, the design of lignin-based smart materials with programmable shape memory behavior need not only focus on the ''conception'' of the stimuli integration, but also consider the potential interaction of lignin with the applied stimuli and the expected response of the material.
Last but not least, the development of materials with the ability to respond to multiple stimuli, and mimic artificial muscles capable of converting energy from external stimuli to mechanical forces are intriguing challenges that could be addressed with lignin-based shape-programmable materials in the near future. First steps to address these issues have already been taken, with the rational design of lignin-based hydrogel actuators sensitive to pH. The performance of these materials is based on macroscopic changes such as swelling and shrinking upon pH changes. Recently, Dai et al. reported a simple approach consisting of a one-step crosslinking reaction of industrial kraft lignin with poly(ethylene glycol)diglycidyl ether acting as a crosslinker under basic conditions. 219 The resulting lignin-based hydrogel showed relatively fast (1 min) mechanical actuation by transition between softening/enhancement and straight/bending shapes by alternately immersing the hydrogel in 0.1 M HCl and 0.1 M KOH. Additionally, an intelligent hook and flow control valve based on this system was developed to control the filtration of solutions demonstrating a broader potential of this material. This approach illustrates that a good rational design of low cost lignin-based smart material can also open new avenues for the development of lignin-based actuators.

Perspective for future development
Lignin-based smart materials have emerged as worthy options for advanced biomaterials because of their intrinsic functional properties and green carbon footprint. Many of the examples discussed in this review demonstrate that lignin-based smart materials stand comparison to conventional stimuli-responsive polymers in sensors, biomedical applications, and shape memory materials. It is thus well rationalized to foresee that ligninbased smart materials will continue to see a rapid expansion towards new materials and applications. It is also important to note that in many of the examples described in this review the stimuli-responsive capabilities are not provided directly by the nature of lignin (e.g. lignin-based polymers). This fact can induce a thinking that in some cases the role of lignin is merely secondary and could be eventually easily replaced. However, it is unfair to judge the contribution of lignin in these materials based only on this angle. In most of the cases, a global vision of these systems demonstrated that a rational combination of lignin properties with stimuli-responsive materials can offer the possibility to fabricate systems for a more advanced performance, as is the case of lignin-based smart polymeric materials for drug delivery and light stabilization. We also envision that in a near future the development of all-lignin-based smart materials will be a reality by exploiting the inherent properties of lignin in their different shapes and sizes. For instance, LNPs hold the potential to enable reversible aggregation processes in different solution media which could be used to design new sensors based on aggregation induced emission (AIE) effect.
In fact, there are many prospective materials that can be prepared from lignin precursors such as (nano)materials programmed for degradation, bio-mimicking materials, multistimuli responsive systems, and other engineered stimuliresponsive materials (Fig. 12). Future challenges for lignin-based smart materials include gaining a better understanding of structure, isolation, and predictable batch to batch properties of lignin, transformation to ''standardized'' molecular and nano/micro building blocks, and structure-function relationship in applications. It will also be important to demonstrate scale-up and proof of concept of lignin-based materials to attract industrial activity in this new material domain.
Many prospective applications are linked to the development of lignin-based materials with the ability to interact or mimic biological systems such as selective membranes. These materials are typically composed of biomolecules such as proteins linked to other components that lead to changes in the macroscopic conformation. Many bio-mimicking systems developed so far involve the use of synthetic polymeric nanoparticles, 220 which could instead be formed from lignin. 221 For drug delivery systems it will be important to synthesize materials carrying more than one active substance with potential for site-specific and controlled sequential or simultaneous release. This also includes the possibility to fabricate LNPs with programmable shape memory behavior, which could lead to the preparation of multicompartment capsules (MCCs) mimicking biological cells, 222,223 for instance through phase-separation processes with the inherent possibility to encapsulate several active compounds in the different compartments. Last but not least, as has been discussed in this review, there is potential for future work to address the introduction of multiple and external stimuli in an ''intelligent'' and predictable manner to generate a new generation of advanced materials. These materials will consist of engineered signaling chains that allow for switching ''on'' or ''off'' the corresponding lignin-based device, after the application of a programmable series of stimuli, including potential cascade processes already presented in polymeric systems. [224][225][226] In summary, the combination of the lucrative properties of lignin nano-and hybrid materials together with the increasing diversity of responsive materials foretell that lignin-based smart materials will be a vibrant area to explore in the future.

Conflicts of interest
There are no conflicts to declare.