Skip to main content

Logo
Ready

Logo is a component used inside the Header and Footer components. Logo prodives options to customize the language and appearance in addition to theme.

Properties #

Property Attribute Description Type Default
href href Where the logo links to. string "/"
inverse inverse Use inverse version of the logo (white logo on dark background). boolean false
language language The language of the logo. "en" | "fi" | "sv" "fi"
margin margin Controls the margin of the component. "auto" | "none" "auto"
size size Size variation of the logo. "large" | "medium" "medium"
theme theme Theme of the logo. "" | "default" | "turva" ""

Dependencies #

Used by #

Graph #

graph TD;
duet-footer --> duet-logo
duet-header --> duet-logo
style duet-logo fill:#f9f,stroke:#333,stroke-width:4px

Integration

For integration, event and theming guidelines, please see Using Components. This documentation explains how to implement and use Duet’s components across different technologies like Angular, React or Vanilla JavaScript.



Tutorials

Follow these practical tutorials to learn how to build simple page layouts using Duet’s CSS Framework, Web Components and other features:

Tutorials

Abstract

Tutorials

Building Layouts

Tutorials

Using CLI Tools

Tutorials

Creating Custom Patterns

Tutorials

Server Side Rendering

Tutorials

Sharing Prototypes

Tutorials

Usage With Markdown

Tutorials

VS Code

Tutorials

Zeplin


Troubleshooting

If you experience any issues while using a component, please head over to the Support page for more guidelines and help.