LogoLogo
GitHub repository
GitHub repository
    Documentation
  • Overview
  • Getting Started
  • Guides


  • Hooks

  • Components


    • AsyncButton
    • AsyncIconButton
    • CodeBlock
    • CopyButton
    • Enumeration
    • ExampleCard
    • Icon
    • InlineCode
    • Logo
    • PageLoadingIndicator
    • PageOverview
    • Paragraph
    • QuoteBlock
    • SmartImage
    • SmartLink
    • StyleLink

StyleLink

Roughly equivalent to <link rel="stylesheet">, with some extra features.

Props

The same as HTML <link>, except for the following:
  • rel is not available, as it is always set to "stylesheet".
  • as is not available.
  • defer: If true, the stylesheet will be deferred to load at a later (unspecified) point in time. The current implementation loads the stylesheet only after the page has been hydrated.