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. Can be one of: "fi", "sv", "en". "en" or "fi" or "sv" "fi"
margin margin Controls the margin of the component. Can be one of: "auto", "none". "auto" or "none" "auto"
size size Size variation of the logo. Can be one of: "medium", "large". "large" or "medium" "medium"
theme theme Theme of the logo. Can be one of: "default", "turva". "" or "default" or "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

Building Layouts

Tutorials

Using CLI Tools

Tutorials

Creating Custom Patterns

Tutorials

Server Side Rendering

Tutorials

Sharing Prototypes


Troubleshooting

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