The asymmetric unit of the titled compound, C22H20FN5S, comprises two independent mol-ecules (A and B), both of which have a trans conformation with respect to the methene C=C [1.342 (2) and 1.335 (2) Å] and the acyclic N=C [1.283 (2) and 1.281 (2) Å] bonds. In mol-ecule A, the triazole ring makes dihedral angles of 55.01 (12) and 18.17 (9)° with the benzene and indole rings, respectively. The corresponding dihedral angles for mol-ecule B are 54.54 (11) and 14.60 (10)°, respectively. In the crystal, mol-ecules are consolidated into -A-B-A-B- chains along [010] via N-H⋯N hydrogen bonds. The chains are further linked into layers parallel to the ac plane via π-π inter-actions involving inversion-related triazole rings [centroid-centroid distances = 3.3436 (11)-3.4792 (13) Å].
* Title and MeSH Headings from MEDLINE®/PubMed®, a database of the U.S. National Library of Medicine.