Block

material-4/Content/Block
include('material-4/Content/Block')
Illustration Block
illustration for Illustration illustration for Block

Sprites

The item provides the following sriptes:

  • <$BlockXs>
  • <$BlockSm>
  • <$BlockMd>
  • <$BlockLg>

Block

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('material-4/bootstrap')

' loads the Item which embeds the element Block
include('material-4/Content/Block')

' renders the element
Block('Block', 'Block', '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('material-4/bootstrap')

' loads the Item which embeds the element Block
include('material-4/Content/Block')

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