Introduction

Functional dyes are defined as dyes that change their properties including color and luminescence in response to external stimuli and offer fascinating stimuli-responsive functions, unlike traditional dyestuffs and pigments, which just passively interact with light [1]. Chemical incorporation of functional dye molecules into polymer structures can produce stimuli-responsive polymers with unique functions that are impossible for the individual dyes or polymers and can render them self-standing and tangible materials, which are generally not constructible when using only the dye molecules. These stimuli-responsive polymers can be called “smart” or “intelligent” because the polymers behave as if they are intelligent. Physical mixing of functional dyes and polymers is an alternative for the preparation of stimuli-responsive polymeric materials but may involve phase separation, which sometimes inhibits the functions of the dyes and deteriorates the material properties of the polymers. Poly(N-isopropylacrylamide) (PNIPAAm) has a lower critical solution temperature (LCST) around the human body temperature in aqueous solutions, is recognized as the first stimulus-responsive and temperature-responsive polymer with a history of more than half a century, and is still being studied extensively [2,3,4,5,6]. Indeed, a large variety of polymers not limited to PNIPAAm have been demonstrated to achieve unique functions via the chemical incorporation of functional dye molecules in the last few decades [7,8,9,10]. A number of external stimuli are considered for the functions, such as temperature, light, force, ultrasound, electric and magnetic fields, chemicals including water, and pH (Fig. 1a). In particular, we have focused on light, force, electric fields, and chemicals. Usually, we employ conventional functional dyes or develop original functional dyes, chemically incorporate them into the main or side chains of various polymer structures, and demonstrate the functions of the single polymer chains and the microscopic or macroscopic materials after forming (Fig. 1b). To realize the desired functions in the single chains and materials, the primary, assembly, and material structures and properties must be adequately designed at all length scales from the molecular level to the macroscopic level. The present review highlights our recent studies on smart polymers and polymeric materials that offer unique functions in response to external stimuli, such as switchable adhesion, mechanical actuation, and chemical sensing, based on functional dyes installed in the polymer structures. Here, our previous studies conducted in the last half decade are divided into four sections according to the types of external stimuli, i.e., light, force, electric fields, and chemicals including water, and separately summarized along with related important works by other research groups.

Fig. 1
figure 1

a Types of external stimuli. b Experimental scheme usually employed in our study

Light-responsive systems

Photostimulation is attractive because of its advantages, including high spatiotemporal resolution, easily and precisely controllable wavelength and intensity, and no generation of chemical waste. Photoremovable protecting (caging) groups can be regarded as functional dyes that show a one-way response to light [11,12,13]. Reversible responses are possible in photoswitches, which isomerize between two or more thermodynamically (meta)stable states upon irradiation with appropriate wavelengths of light [14,15,16,17,18]. Other functional dyes can also provide reversibility, such as rotary molecular motors that generally involve four (meta)stable states [19,20,21,22,23,24,25,26], anthracene and π-conjugated enes that undergo photoinduced cycloaddition and cycloreversion [15], and excited-state chromic molecules [27]. Azobenzenes (ABs) are the most commonly used photoswitches and are characterized by large structural changes in the photoisomerization between the stable E and metastable Z isomers (Fig. 2) [28,29,30,31]. Photoisomerization is wavelength selective, i.e., the E-to-Z and Z-to-E isomerization of the unsubstituted AB proceed under irradiation with UV light at approximately 350 nm and visible light at approximately 450 nm, respectively (Fig. 3). Because both isomers absorb the excitation wavelengths, each isomerization reaches a steady state with a certain E/Z ratio called the photostationary state (PSS). Most AB derivatives except for ortho-substituted ABs and azoheteroarenes also undergo rapid thermal isomerization from the Z isomer to the E isomer even at room temperature due to their low energy barriers [28,29,30,31]. Diarylethenes (DAEs) constitute another representative family of photoswitches and feature conjugation changes in the athermal isomerization between the open and closed forms (Fig. 2) [32]. In addition to ABs and DAEs, a wide variety of photoswitches are known, including stiff stilbenes (SSs) [33], imines [34, 35], hydrazones [36,37,38,39,40], (thio)indigos [41,42,43], hemi(thio)indigos and aurones [41, 44, 45], phenylimino indolinones and iminothioindoxyls [46, 47], dihydropyrenes [48], norbornadienes [49], fulgides and fulgimides [50, 51], rhodamines [52], dihydroazulenes [53], chromenes and naphthopyrans [16], donor-acceptor Stenhouse adducts [54, 55], oxazines [56], and 1,2-diketones [57, 58], and have been incorporated into polymer structures [15, 59,60,61].

Fig. 2
figure 2

Chemical structures and isomerization of representative photoswitches. The chemical structures are drawn with typical colors of the isomers in solution

Fig. 3
figure 3

Typical photoabsorption spectra (left) and energy diagram for isomerization (right) of E and Z isomers of ABs

Spiropyrans (SPs) are also commonly used similar to ABs and DAEs (Fig. 2). Bulky and low-polarity SPs are isomerized into planar and highly polar merocyanines (MCs) by UV light irradiation, and MCs revert back to SPs by visible light irradiation or do so spontaneously at room temperature [62, 63]. The dipole moments dramatically change between 4–6 D for SPs and 14–18 D for MCs, enabling photocontrol of intriguing phenomena including LCSTs and cell adhesion [64, 65]. We utilized the large polarity changes for photoswitchable adhesives [66], which promise to contribute to material recycling for a sustainable future as complex architectures that consist of dissimilar materials are being developed in diverse fields because they allow robust bonding during use and on-demand photoinduced debonding after use with minimal damage to adherends owing to the advantages of light [67]. Previously, photoswitchable adhesives have been achieved predominantly based on photoinduced transitions between solid, glass, and liquid states [68,69,70,71,72,73], phototriggered bond formation and cleavage [74,75,76,77,78,79,80,81,82,83], and photothermal effects [84] by using functional dyes. Because the molecular polarity and related interactions between adhesives and adherend surfaces are considered the dominant factors that generate an adhesion force [85,86,87], SPs have also been employed as additives in adhesives [88,89,90] or as low-molecular-weight adhesives [91]. However, polymer adhesives with chemically incorporated SPs had never been reported. Therefore, we developed SP-containing polymer adhesives for the first time [66].

Specifically, three non-crystalline linear polymers with SPs in the side chains linked to the main chains through different lengths of alkyl spacers, PSPA-2, PSPA-6, and PSPA-10, were synthesized by free radical polymerization (Fig. 4a). The polymers had similar degrees of polymerization (DPs) but largely different glass transition temperatures (Tgs) and free volume of the side chains, which decreased and increased with increasing the spacer alkyl chain length, respectively. Thin films of the three polymers were prepared via spin coating on piranha-treated glass substrates and irradiated first with 365 nm UV light and subsequently with 525 nm visible light. The appearance and disappearance of a photoabsorption band originating from the MCs at approximately 580 nm in the UV/vis absorption spectra with purple coloration and fading (Fig. 4b) corresponded to the SP-to-MC and MC-to-SP isomerization, respectively (Fig. 4c). The spectra normalized at the SP photoabsorption maxima at approximately 340 nm revealed that the highest MC ratio was yielded in the thin film of PSPA-10, which had the largest free volume of the side chain. Furthermore, the MC-to-SP photoisomerization in the PSPA-10 thin film proceeded fastest due the largest free volume, whereas the rates of the SP-to-MC photoisomerization in the three thin films were comparable (Fig. 4d). The thermal isomerization from the MCs to the SPs was also investigated at room temperature in the dark (Fig. 4c) and found to be much slower than the photoisomerization and similar in the three thin films (Fig. 4d). These results indicate that PSPA-10 is the best polymer for a photoswitchable adhesive because of the highest (SP-to-MC) and fastest (MC-to-SP) photoconversions but the comparably slow thermal isomerization (MC-to-SP) in the thin film. Polarity changes of the three polymers were demonstrated by static water contact angles on the thin films that were spin-coated on glass substrates modified with a hydrophobic monolayer. The contact angles decreased and then increased upon 365 nm UV light and 525 nm visible light irradiation, respectively (Fig. 4e). Additionally, the longer spacer alkyl chains resulted in higher contact angles, indicating increased hydrophobicity. The SP-containing polymers were used as adhesives for the piranha-treated hydrophilic and monolayer-modified hydrophobic glass substrates (Fig. 4f). The adhesion strength, i.e., the maximum stress in the lap shear tests, repeatedly increased and subsequently decreased with 365 nm UV light and 525 nm visible light exposure, respectively, due to the generation and loss of the highly polar MCs, which strongly interacted with each other and the adherends (Fig. 4g). The debonding seemed to occur partially in the adhesive layer after UV light irradiation but completely at the adhesive–adherend interface after visible light irradiation. In other words, the debonding was switched between cohesive failure and interfacial failure. The greatest changes in adhesion strength were achieved in PSPA-10 with the hydrophilic adherends because of strong interactions between the polymer with the highest MC ratio and the hydrophilic substrates after UV light irradiation but small interactions between the most hydrophobic polymer and the hydrophilic substrates before irradiation and after visible light irradiation. Therefore, we suggested, for the first time, a guideline for developing photoswitchable polymer adhesives based on polarity changes in chemically incorporated photoswitches: high hydrophobicity of the adhesives and large free volume around the photoswitches enable significant changes in the adhesion strength particularly with hydrophilic adherends. Compared with the additive approach [88,89,90], much higher loading of SPs into polymer adhesives without phase separation was possible in our chemical incorporation approach and led to larger changes in the adhesion strength by the photoisomerization, although the adhesion strength of the low-molecular weight adhesives was unchanged upon photoirradiation [91].

Fig. 4
figure 4

a Chemical structures and information of SP-containing polymers. b Photographs of PSPA-10 thin film before and after 365 nm exposure. c Photoabsorption spectra of PSPA-10 thin film upon 365 nm irradiation for 120 s and subsequent 525 nm irradiation or during thermal isomerization at room temperature in the dark. d Time dependence of normalized absorbance at 580 nm in the 365 nm and 525 nm exposure and thermal isomerization of three thin films. e Static contact angles of the thin films before and after 365 nm irradiation for 120 s and subsequent 525 nm irradiation for 12 h (PSPA-2), 4 h (PSPA-6), or 3 h (PSPA-10) (n > 3). Photographs of water droplets on PSPA-10 thin film. f Procedure for preparation of joint samples and evaluation of adhesion strength. g Maximum stress of PSPA-10 adhesive for hydrophilic adherends before and after 365 nm irradiation for 120 s and subsequent 525 nm irradiation for 6 h and its repeatability (n = 5). Photographs of joint samples before and after irradiation and after failure. Error bars are standard deviations. Reproduced with permission from ref. [66]. Copyright 2022, American Chemical Society

Mechanoresponsive systems

Materials are universally subjected to mechanical forces, which eventually lead to failure but have rarely been utilized in a productive way. Thus, there would still be unknown interesting chemistry. Over a decade and a half, unique functions in response to mechanical forces have been reported in polymers and polymeric materials by incorporating functional dyes [92,93,94,95,96,97,98], such as self-healing [99,100,101,102,103,104,105,106,107,108,109,110,111], mechano(lumino)chromism for force and damage detection [112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140], self-strengthening [141,142,143], and other polymer reactions [144,145,146,147,148,149,150]. Additionally, the mechanoresponsive functions have been controlled by another external stimulus [106, 151,152,153]. A part of the photoswitches shown in Fig. 2 are also known to undergo isomerization under mechanical forces [154, 155]. SPs are the first photoswitches reported to be isomerized by mechanical forces [156,157,158]. Similarly, the ring opening reactions of naphthopyrans [159,160,161,162,163], rhodamines [164,165,166], and oxazines [167, 168] are mechanically induced. The Z isomer of ABs also mechanically isomerizes to the E isomer [169,170,171], although mechanoisomerization has never been observed in DAEs [153, 172,173,174,175]. Nevertheless, one isomer of each mechanoactive photoswitch is thermally unstable; therefore, the isomerization is precisely uncontrollable by mechanical means. We have focused on a new family of thermally stable photoswitches, sterically hindered SSs (HSSs) (Fig. 2) [33, 176,177,178,179], and recently reported that the EZ isomerization of HSSs can be controlled orthogonally by photoirradiation and mechanical forces [180].

We synthesized a linear polymer with one Z isomer of an HSS photoswitch at the center of the polymer chains, Z-HSS-diPMA, by atom transfer radical polymerization of methyl acrylate from an HSS initiator with two initiating groups at both ends (Fig. 5a). The Z isomer was primarily focused on because ABs mechanically isomerize from the Z isomer to the E isomer [169,170,171], although the corresponding E isomer of the polymer, E-HSS-diPMA, was also prepared in a similar manner as a control and a standard for comparison via 1H NMR spectroscopy. First, we verified the photoisomerization of the incorporated HSS. When a tetrahydrofuran (THF) solution of the Z isomer was exposed to 405 nm visible light, the UV/vis absorption and 1H NMR spectra gradually changed, which corresponded to the Z-to-E isomerization (Fig. 5b, c). At the PSS, the Z/E ratio was 18/82. Conversely, 340 nm UV light irradiation of the 405 nm PSS solution caused the E-to-Z isomerization and provided a PSS with a Z/E ratio of 79/21, and the reversible photoisomerization was repeatedly observed. In other words, the HSS photoswitch underwent 80% two-way photoisomerization even at the center of the polymer chains, while small HSS derivatives offered 90% photoisomerization yields in both directions [177]. The mechanoisomerization of the embedded HSS was subsequently investigated. Generally, a target molecule must be incorporated into a polymer chain to be subjected to elongational forces. We employed ultrasonication of polymer solutions, a common technique in polymer mechanochemistry, which generates elongational forces along polymer chains and causes scission around the middle (Fig. 5d) [181]. UV/vis absorption and 1H NMR spectra during irradiation of the Z-HSS-diPMA (Z/E = 100/0) and 405 nm PSS (Z/E = 18/82) solutions with pulsed ultrasound for 100 min indicated that the Z-to-E isomerization proceeded in both solutions, resulting in Z/E ratios of 22/78 and 7/93, respectively (Fig. 5e, f). During the ultrasonication, the unimodal size exclusion chromatography (SEC) curves of Z-HSS-diPMA and the 405 nm PSS gradually changed to bimodal distributions, in which the new peaks corresponded to approximately one-half of the original molecular weights and indicated chain scission near the center (Fig. 5g). In contrast, only chain scission without isomerization was observed in ultrasonication of an E-HSS-diPMA solution. Additionally, the possibility of thermal isomerization in the ultrasonication-induced isomerization was excluded by a control experiment on a mixture of poly(methyl acrylate) and the Z isomer of a small HSS derivative, the results of which are similar to those observed in E-HSS-diPMA. Furthermore, alternating stimulation of Z-HSS-diPMA in solution by ultrasonication and UV light irradiation demonstrated the Z-to-E mechanical isomerization and E-to-Z photoisomerization in an orthogonal manner (Fig. 5h). Based on these results, we concluded that HSSs are the first photoswitches, mechanophores, and molecular hinges that can switch between two thermally stable states with hinge-like motions orthogonally in response to light and force. At the same time, the Z-to-E mechanoisomerization of SSs was also reported [182]. Unlike in our study, the SS photoswitches were incorporated into polymer chains by polymer reactions, probably because the unhindered reactive C=C bond undergoes side reactions in radial polymerization and olefin metathesis polymerization [180, 183].

Fig. 5
figure 5

a Chemical structures of Z-HSS-diPMA and Z-HSS-diPMA. b UV/vis absorption spectra of Z-HSS-diPMA under 405 nm and 340 nm irradiation in THF (2.00 mg mL−1). c 1H NMR spectra (500 MHz, acetone-d6) of Z-HSS-diPMA, 405 and 340 nm PSSs, and E-HSS-diPMA. d Ultrasonication and polymer chain scission in solution. e UV/vis absorption spectra and g SEC curves (refractive index (RI) signals) of Z-HSS-diPMA and 405 nm PSS under ultrasonication (US) for 100 min in THF (2.00 mg mL−1). f 1H NMR spectra (500 MHz, acetone-d6) of Z-HSS-diPMA and 405 nm PSS before and after the US. h 1H NMR spectra (500 MHz, acetone-d6) of Z-HSS-diPMA upon alternating irradiation with ultrasound (US) for 100 min and 340 nm light until PSSs in THF (2.00 mg mL–1). Reproduced with permission from ref. [180]. Copyright 2023, American Chemical Society

Electroresponsive systems

Electricity is precisely controllable and suitable for the manipulation of robots. Conventional robots consist of hard materials, such as metals, may harm humans, and therefore, are employed separately from people in factories. Nevertheless, the demand for robots in nursing care and rescue involving physical interactions with people is growing. Additionally, future robots will come into close contact with humans and integrate into daily life for some applications, including the replacement of human labor and in-body diagnosis, medical treatment, and even surgery, due to the development of the Internet of Things and artificial intelligence [184, 185]. In this context, soft robots composed of soft materials have been extensively studied [186, 187]. Their motions in response to external stimuli are produced by actuators, which should be intrinsically soft for soft robots [188]. Therefore, soft polymer actuators are indispensable particularly for small robots with complex structures and motions due to their high flexibility, deformability, adaptability, agility, dexterity, and degree of freedom [184, 185]. Previously, a countless number of soft actuators driven by electricity including electrochemical redox reactions have been reported [189]. The electrochemical soft actuators were constructed by sandwiching one of the three types of polymeric materials between two flexible electrodes: conducting polymers, dielectric elastomers, and polymer gels. However, they require a direct connection to a power supply, which limits their size, structures, and motions to large thin sheets that can be bent or extended. Based on this background, wireless electrochemical soft actuators have been developed by using bipolar electrochemistry [190,191,192,193,194,195,196,197,198,199,200,201]. While reduction and oxidation occur on each surface of two electrodes connected to a power supply in conventional electrochemistry (Fig. 6a), in bipolar electrochemistry, anodic and cathodic reactions occur simultaneously at the terminals of a conductor placed between a pair of driving electrodes without any direct electrical contact under an applied electric field in a dilute supporting electrolyte solution (Fig. 6b) [202,203,204,205,206,207,208]. The conductor is called a bipolar electrode (BPE), whose type, size, shape, and number are unrestricted. In pioneering work, bending of films and pumping with tubes were achieved based on redox reactions induced by bipolar electrochemistry, resulting uptake/release of ions and solvent in the BPE to maintain electroneutrality, and swelling/shrinking of the BPE [190,191,192,193,194,195,196,197,198,199,200,201]. However, all previously reported wireless electrochemical soft actuators employed only a combination of a conducting polymer, polypyrrole (PPy), and bipolar electrochemistry. For the development of soft robots, a wide variety of materials, mechanisms, and motions of soft actuators are undoubtedly indispensable.

Fig. 6
figure 6

a Conventional and b bipolar electrochemistry. c Redox-reversible dimerization of viologen. d Chemical structures of viologen-containing hydrogels and e their actuation by bipolar electrochemistry. Photoabsorption spectra of f viologen monomer (50 μM) and g the hydrogels before and after reduction by 50 mM Na2S2O4 for 60 min in PBS. Photographs of f monomer solutions and g 20% gel before and after the reduction. h Volume changes of the hydrogels during the reduction (n = 3) with photographs of 20% gel before and after the reduction. The error bars are standard deviations, and the scale of the measure is in millimeters. i Setup for electrochemical actuation of the hydrogels. Volume changes of millimeter-sized hydrogels upon j application of −6 V for 8 min and subsequent +6 V for 8 min and l alternating application of each voltage for 8 min. The purple and white areas indicate the application of −6 and +6 V, respectively. k Photographs of the hydrogels before and after the application of voltage. Scale bars are 500 µm. m Photographs of centimeter-sized hydrogels before and after application of −6 V for 10 min. n Plausible mechanism for electron propagation via viologen mediator. Reproduced with permission from ref. [209]. Copyright 2024, John Wiley & Sons

Therefore, we newly developed wireless electrochemical soft actuators by using bipolar electrochemistry and polymer gels, which are among the most commonly used materials in wired electrochemical soft actuators [209]. We additionally employed viologen, which reversibly forms a π-dimer via redox reactions (Fig. 6c) [210,211,212], and synthesized three hydrogels, 5% gel, 10% gel, and 20% gel, with different contents of viologen in the side chains via free radical copolymerization of acrylamide, a chemical cross-linker (1 mol%), and a viologen monomer (5, 10, or 20 mol%) (Fig. 6d) [213,214,215]. The dimerization and dissociation were expected to induce shrinkage and swelling of the hydrogels (Fig. 6e). First, we examined their response to chemical reduction using sodium dithionite (Na2S2O4) in a phosphate-buffered saline (PBS) solution. As a control experiment, the chemical reduction of the viologen monomer generated new photoabsorption bands in the UV/vis absorption spectrum with blue coloration originating from the free radical cation (Fig. 6f) [210, 216]. On the other hand, two other bands with black coloration derived from the π-dimer appeared after the chemical reduction of the hydrogels due to the close location of viologen molecules in the polymer networks, unlike in the dilute monomer solution (Fig. 6g) [210, 216]. The volume changes were also monitored during the chemical reduction. The hydrogels gradually shrank and reached equilibrium swelling states (Fig. 6h). A higher viologen content of the hydrogels corresponded to greater volume shrinkage. Immersion of the reduced hydrogels in PBS without the reductant almost restored the color and volume over several days because of oxidation by dissolved oxygen. Thus, we verified that the reduction and oxidation of the incorporated viologen caused the dimerization and dissociation and the shrinkage and swelling of the hydrogels, respectively. Then, we actuated millimeter-sized hydrogels based on bipolar electrochemistry by applying a voltage between two feeder electrodes (Fig. 6i) and observed the behavior of the hydrogels via optical microscopy. Potassium hydroquinone sulfonate (KHQS) was employed as a sacrificial reagent to complement redox reactions on the BPE. The hydrogels gradually contracted with purple coloration under −6 V and quickly swelled with fading under +6 V with the help of oxidation by dissolved oxygen (Fig. 6j, k). The volume changes of the hydrogels with higher viologen contents tended to be greater, although partly dependent on the size, shape, contact area with the BPE, and device setup. The reversible shrinkage and swelling were repeatedly observed, similar to the motions of a muscle, with gradual volume decreases, which may be due to strong interactions between the reduced viologen and oxidized KHQS (Fig. 6l). Unexpectedly, the volume changes were comparable to those caused by the chemical reduction despite the heterogeneous reactions on the BPE surfaces. Therefore, the macroscopic actuation of centimeter-sized hydrogels was also examined (Fig. 6m). A portion of the hydrogels on the BPE cathode visibly contracted with purple coloration. The viologen molecules might act as mediators to propagate electrons and reduce themselves to dimerize even far from the BPE interface (Fig. 6n) [217, 218]. Previously, viologen-containing gels have been reported to be actuated by chemical redox reactions [215, 216, 219, 220] and photoirradiation [221,222,223] but not by electrochemistry. In this study, we demonstrated for the first time not only the wireless electrochemical actuation of polymer gels but also the electrochemical actuation of viologen-containing gels.

Chemoresponsive systems

Detection and determination of chemicals harmful to humans and the environment or influential molecules for target applications are important to avoid the exposure and improve the applications. Functional dyes that interact or react with such chemicals and change their optical properties allow the easy and sensitive visual detection and even real-time monitoring. Volatile organohalogen compounds (VOHCs) are mostly harmful but indispensable in manufacturing. Therefore, functional dyes responsive to VOHCs have been developed, and a photophysical phenomenon that involves a significant hypsochromic or bathochromic effect only in halogenated solvents was termed organohalogenochromism (OHC) [224,225,226,227]. In this context, we very recently incorporated a donor–π–acceptor (D–π–A)-type pyridinium dye offering OHC into the side chains of a linear polymer and demonstrated OHC of the polymer (Fig. 7a) [228]. Moreover, thin films of the polymer were prepared and enabled the easy and reversible detection of VOHCs.

Fig. 7
figure 7

a Chemical structure and OHC in solutions and thin film of linear polymer with D–π–A-type pyridinium dye. Reproduced with permission from ref. [228]. Copyright 2024, the Royal Society of Chemistry. b Chemical structure and water visualization in solution and thin film of linear polymer with PET-based fluorescent dye. Reproduced with permission from ref. [252]. Copyright 2022, the Royal Society of Chemistry

Additionally, water significantly affects synthesis and production of chemicals, medicines, and electronics. Thus, visual detection and determination of water have been extensively studied and achieved by using functional dyes based on a variety of mechanisms, such as aggregation-induced emission, excited-state intramolecular proton transfer, Förster resonance energy transfer, intramolecular charge transfer, and photoinduced electron transfer (PET) [229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251]. We synthesized a linear polymer with a fluorescent dye that offers high sensitivity to water due to turn-on fluorescence based on PET in the side chains and developed its thin films (Fig. 7b) [252] as well as dye-doped films and dye-immobilized substrates [253,254,255]. The reversible visual detection of water was successfully demonstrated.

Conclusion

In this review, we summarized our recent studies on stimuli-responsive smart polymers and polymeric materials based on functional dyes that were chemically installed in the structures with a particular focus on the stimuli of light, force, electric fields, and chemicals including water, along with related important works of other research groups. The incorporation of functional dyes into polymers has infinite possibilities that are only limited by creativity. However, there is no example and no guideline to amplify and reflect functions of functional dyes at the molecular level to those of materials at the macroscopic level in synergy with polymers without offsetting each other. To this end, not only the structures and properties of functional dyes, polymers, assemblies, and materials but also the interactions between them must be adequately and precisely designed and constructed at all length scales. The road will be long, but this field has achieved steady progress [256,257,258,259]. We hope that the present review provides useful information and inspiration for the development.