What Is a GUI?

作者:Coursera Staff • 更新于

Explore what a graphical user interface (GUI) is, how it differs from a command-line interface (CLI), and what elements make up a GUI.

[Featured image] A person in a polka-dot shirt stands in front of a wood-paneled wall and taps the screen of their tablet, which features a graphical user interface (GUI).

Key takeaways

A graphical user interface (GUI) enables user interaction with a computer or website through visual elements, such as windows, icons, and menus. 

  • GUIs differ from command-line interfaces (CLI), which require users to type commands.

  • Microsoft Windows is a typical example of a GUI.

Get insights into what a GUI is and how it works. Afterward, enroll in Meta’s Front-End Developer Professional Certificate to learn how to create professional page layouts using industry-standard tools such as Bootstrap, React, and Figma.

What is GUI in a computer system? 

A graphical user interface (GUI) is an interface between a user and a computer or website that employs a series of visual elements, such as windows, icons, menus, cursors, and buttons, to make computing commands. GUIs are intuitive, allowing users to navigate an operating system (OS) or software without extensive technical knowledge. 

GUIs differ from command-line interfaces (CLI), which require users to type commands. A GUI allows users to interact with a computer without the programming knowledge that CLI requires. This makes GUIs accessible to a wide range of users, allowing users to easily navigate a program or website and customize certain elements like font size and color. An example of a CLI is MS-DOS, and an example of a GUI is Microsoft Windows. Let’s take a closer look at what makes up a GUI.

What elements make up a GUI?

When using a GUI to make commands, users rely on windows, icons, menus, pointers, and scroll bars (WIMPS). This is the user interface toolkit and allows for the creation of the GUI. GUIs have various elements, including input controls, navigational components, informational components, and containers. Here is a list of some elements that make up a GUI:

  • Button: A button shows an action that can occur when pressed through an icon or text.

  • Dropdown list: A dropdown list gives a user a series of mutually exclusive options that drop down from one button.

  • Window: A window is a rectangular display of the current program being used.

  • Icon: An icon is a hyperlinked, intuitive symbol to allow easy user navigation through programs, videos, files, and more.

  • Search field: A search field gives users a place to type in a word or phrase that will give back useful results.

  • Toolbar: A toolbar contains buttons, widgets, icons, search fields, and more in a row, often found at the bottom or top of a GUI.

  • Date and time pickers: Date and time pickers give users a pop-up or drop-down menu to select a specific date and time, which they can then input into the program or software they are using.

  • Breadcrumbs: Breadcrumbs show a user where they are in a system by showing a series of folders or pages they have navigated at the top of a page. 

  • Pop-up window: A pop-up or modal window forces a user to input information into the window’s text box before it allows them to access the rest of the GUI.

  • Accordion: An accordion is a container that vertically stacks items in a manner so that, when clicked on, they display more information underneath. Items become visible or hidden when the user clicks on the label of the stack. 

What is the difference between GUI and UI?

A GUI is a specific type of user interface (UI) where you use a keyboard and mouse or touch screen to interact with a computer through graphical elements. However, a UI can extend beyond graphical representation and include speakers, microphones, fingerprint scanners, cameras, electronic pens, and printers.

Read more: What Does a User Interface (UI) Designer Do? Role Explained

Related terms

Explore our free web development career resources

Keep up with the latest trends in web development with Career Chat, Coursera’s weekly LinkedIn newsletter featuring in-demand skills, tools, and certifications. Continue building your expertise by subscribing to our other free digital resources: 

Accelerate your career growth with a Coursera Plus subscription. When you enroll in either the monthly or annual option, you’ll get access to over 10,000 courses.

更新于
作者:

编辑团队

Coursera 的编辑团队由经验丰富的专业编辑、作者和事实核查人员组成。我们的文章都经过深入研究和全面审核,以确保为任何主题提供值得信赖的信息和建议。我们深知,在您的教育或职业生涯中迈出下一步时可能...

此内容仅供参考。建议学生多做研究,确保所追求的课程和其他证书符合他们的个人、专业和财务目标。