Svelte components have three sections, namely style, script, and template. Script and style modify the appearance and behavior of the standalone component and they are optional. However, the template section is not optional. Understanding component logic and component framework will help you build components more easily. A popular component to learn is the badge component, which uses silver badges, gold badges, and bronze badges to use in links, navigation bars, and more.