Preact

simpleicons-8/P/Preact
include('simpleicons-8/P/Preact')
Illustration Preact
illustration for Illustration illustration for Preact

Sprites

The item provides the following sriptes:

  • <$PreactXs>
  • <$PreactSm>
  • <$PreactMd>
  • <$PreactLg>

Preact

Load remotely

@startuml
' configures the library
!global $LIB_BASE_LOCATION="https://raw.githubusercontent.com/tmorin/plantuml-libs/master/distribution"

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

' loads the package bootstrap
include('simpleicons-8/bootstrap')

' loads the Item which embeds the element Preact
include('simpleicons-8/P/Preact')

' renders the element
Preact('Preact', 'Preact', 'an optional tech label', 'an optional description')
@enduml

Load locally

@startuml
' configures the library
!global $INCLUSION_MODE="local"
!global $LIB_BASE_LOCATION="../.."

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

' loads the package bootstrap
include('simpleicons-8/bootstrap')

' loads the Item which embeds the element Preact
include('simpleicons-8/P/Preact')

' renders the element
Preact('Preact', 'Preact', 'an optional tech label', 'an optional description')
@enduml