Atlantica

Atlantica

  • Atlantica Design
  • API React Native
  • Help

›Componentes

Atlantica Design

  • Introdução
  • Princípios de Design
  • Glossário

Arquitetura

  • Molecules e Atoms
  • Tokens & Props
  • Nomeando Tokens

Componentes

    Atoms

    • Avatar Base
    • Button Toggle Base
    • Button Base
    • Divider Base
    • Icon Button Base
    • Icon Base
    • Image Base
    • Text Input Base
    • Label Base
    • Switch Base

    Molecules

    • ActionListCard
    • Avatar Editor
    • Button
    • ATLCardList
    • Checkbox
    • ATLChips
    • Comment List Preview
    • Comment
    • Cover
    • DateTimePicker
    • ATLDialog
    • ATLDivider
    • Double Button
    • Dropdown
    • Event Cell
    • Event Title
    • Floating Action Button (FAB)
    • Horizontal User List
    • Icon Label
    • ATLIconizedText
    • Image Logo
    • ImagePicker
    • Label Button
    • List Divider
    • ATLNavigationButton
    • Notification
    • Post
    • SearchBox
    • SettingsItem
    • Single Image
    • ATLSpacing
    • StatusListCard
    • ATLSummary
    • SurveyPost
    • ATLSwitchButton
    • ATLTextBody
    • ATLTextHead
    • TextInput
    • Title
    • UserInfo
    • UserListCard

Single Image

SIM_Orig

Função

Molécula que exibe uma imagem qualquer.

Estrutura Básica

SIM_Estr

  1. Espaçamentos

    1. horizontalMargin, como Margem Lateral
    2. verticalMargin, como Margens Superior e Inferior.

    Átomos

    1. Átomo SimpleImage, como Image
    2. Overlay (Faz parte do Átomo SimpleImage)

Prop-Token Mapping

Props da Molécula

PropTokenDefault ValueUse
horizontalMarginSpacingMargin161
verticalMarginSpacingBase82
imageBaseProps--3
imageOverlay--4

ImageBaseProps

PropTokenDefault Value
borderColorColorNone#000000 00%
borderRadiusBorderRadiusLogo0
borderWidthBorderWidthLogo0
opacityOpacityCover1
resizeModeResizeModeCoverCover
imageProportionProportionCover1:1

imageOverlay

PropTokenDefault Value
ColorColorPrimary#A94CC9
OpacityColorOpacity0.85

Conteúdo

  • Source: uma imagem

Estados

Não possui estados.

Reações

Conteúdo

SIM_Cont

A imagem fica centralizada dentro da área de exibição desta, respeitando a proporção indicada no Token ProportionCover.

Tamanho da Tela

SIM_Resp

As dimensões da molécula se modificam, mantendo a proporção da Imagem. Os espaçamento mantêm-se fixos. A altura da molécula se reduz proporcionalmente à largura da imagem.

Estados

Não apresenta variação de estado.

Tipos

Margin

É a molécula apresentada até aqui. Além desta, existe a seguinte variação.

SIM_Var

No Margin

É a variação molécula apresentada até aqui, mas sem as props de espaçamento. Apresenta os mesmos tokens e reações.

No Overlay

Ambas as variações (Margin e No Margin) podem se apresentar sem o overlay. Neste caso, altera-se o token abaixo:

imageOverlayPropsTokenDefault Value
OpacityColorOpacity0
← SettingsItemNext →
  • Função
  • Estrutura Básica
    • Espaçamentos
    • Átomos
    • Prop-Token Mapping
    • Conteúdo
  • Estados
  • Reações
    • Conteúdo
    • Tamanho da Tela
  • Estados
  • Tipos
    • Margin
    • No Margin
    • No Overlay
Atlantica
Docs
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHubStar
Facebook Open Source
Copyright © 2019 Your Name or Your Company Name