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

UserInfo

original

Função

Esta molécula foi desenhada para compor as informações de usuário, podendo ou não conter ações adjascentes, dependendo da demanda do projeto.

Estrutura Básica

estrutura

Espaçamentos

  1. horizontalMargin, como Margem Lateral
  2. horizontalPadding, como Espaçamento Interno
  3. verticalMargin, como Margens Superior e Inferior
  4. verticalPadding, como Espaçamento Interno

Átomos

  1. Avatar, com a função de User Avatar
  2. Label, com a função de Bio Text Field
  3. Label, com a função de User Name
  4. Label, com a função de Description Text
  5. Divider, com a função de divider
  6. ButtonIcon, com a função de More Actions

Prop-Token Mapping

Props da Molécula

PropTokenDefault ValueUse
horizontalMarginSpacingMarginal161
horizontalPaddingSpacingMarginal162
verticalMarginSpacingMarginal163
verticalPaddingSpacingMarginal164
avatarBaseProps--5
labelBioBaseProps--6
userNameBaseProps--7
labelDescriptionBaseProps--8
dividerBaseProps--9
buttonIconBaseProps--10

avatarBaseProps

PropTokenDefault Value
sizeSizeAvatarBase64
borderColorColorPrimary#A94CC9
borderRadiusBorderRadiusAvatar32
borderWidthBorderWidthAvatar0

labelBioBaseProps

labelBioBasePropsTokenDefault Value
fontFamilyFontFamilyBaseundefined
fontSizeFontSizeBody14
fontWeightFontWeightLightLight (200)
lineHeightLineHeightNotification18
multilineLimitMultilineLimitTitleundefined
textAlignTextAlignmentBodyLeft
textCaseTextCaseBodyNone
textColorColorMediumNeutral#464646

userNameBaseProps

userNameBasePropsTokenDefault Value
fontFamilyFontFamilyBaseundefined
fontSizeFontSizeHeading16
fontWeightFontWeightBoldBold (700)
lineHeightLineHeightTitle24
multilineLimitMultilineLimitTitle1
textAlignTextAlignmentHeadingLeft
textCaseTextCaseHighlightSentence
textColorColorPrimary#A94CC9
opacityOpacityDisabled0.3

labelDescriptionBaseProps

labelDescriptionBasePropsTokenDefault Value
fontFamilyFontFamilyBaseundefined
fontSizeFontSizeBody14
fontWeightFontWeightNormalRegular (400)
lineHeightLineHeightBase20
textAlignTextAlignmentBodyLeft
textCaseTextCaseBodyNone
textColorColorMediumNeutral#464646

dividerBaseProps

dividerBasePropsTokenDefault Value
heightHeightDividerRegular1
colorColorSurfaceLightNeutral#9E9E9E

buttonIconMoreBaseProps

buttonIconMoreBasePropsTokenDefault Value
sizeSizeIconBase24
tintColorColorMediumNeutral#464646

Reações

Responsividade

reacoes_responsividade

Com alterações no tamanho da tela, o átomo label com a função de Bio Text Field se altera para exibir todo conteúdo. O User Name, o Description Line 1 e Line 2 só possuem uma linha cada, se necessário aparecem reticências para acomodar o conteúdo. O restante dos átomos, Avatar User e More Actions se adequam a tela seguindo o mesmo alinhamento original.

Conteúdo

reacoes_conteudo

O Bio Text Field é o átomo que determina a altura da molécula. Os outros átomos, User Name e Descriptions Text Line 1 e 2, só possuem uma linha cada, para acomodar o conteúdo, se necessário, aparecem reticências. Nenhuma alteração acontece com os átomos de Avatar User e More Actions.

Estados

Essa molécula não apresenta múltiplos estados.

← TitleUserListCard →
  • Função
  • Estrutura Básica
    • Espaçamentos
    • Átomos
    • Prop-Token Mapping
  • Reações
    • Responsividade
    • Conteúdo
  • Estados
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