In the FastQC-viz report, the header of each module is composed by a pill indicating the status of the module and the name of the module.
Examples
fastqc_data <- parse_fastqc(system.file("extdata", "SRR622457_2_fastqc.txt", package = "fastqcviz"))
create_header(fastqc_data, "per_base_sequence_quality")
#> [1] "<h1><span class=\"pill\" \nstyle=\"\n background: #afe0b7ff;\n border: 1px solid #2f6638ff;\n color: #2f6638ff;\n\">\n PASS\n</span> Per base sequence quality\n<label class=\"info-button\" for=\"card-toggler-per_base_sequence_quality\">i</label></h1>\n<input type=\"checkbox\" class=\"card-toggler\" id=\"card-toggler-per_base_sequence_quality\"/>"