Online learning is the most widely used application in educational institutions, specifically during pandemic COVID-19. Shortcomings in online learning systems negatively impact learner's attitude and intention to use. Specifically, poor interface design can create a cognitive load that ultimately affects the learner's intention to use. The design factors that could be convenient, useful, and trustworthy in an online learning context are an emerging challenge and the primary purpose behind this research. So, in this research, the effect of different design attributes (interaction, information, navigation, visual) have been examined on learners' cognitive beliefs (ease of use, usefulness), trust, and finally on intention to use. Different hypotheses have been formulated to analyze this concept. In this research, a model Design Artifacts Cognitive Beliefs Trust and Intention to use (DCTI) is proposed to evaluate the learner's intention to use an online learning environment. Data has been collected from the students at different Universities of Punjab, Pakistan, using questionnaire embedded in an online learning prototype. PLS-SEM method was used for data analysis using the tool SmartPLS3. The findings show that among observed design attributes, interaction, information, and visual design have a significant effect on learner's cognitive beliefs as a predictor, navigation has a partial effect. Further, cognitive beliefs have a significant effect on trust. Finally, the learner's intention to use towards an online learning environment is significantly affected by trust.