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

Floating Action Button (FAB)

FAB_orig

Função

Esta molécula foi desenhada para conter um gatilho de ação na forma de Botão Flutuante. Ele deve ser usado para representar a principal ação em uma tela, ou a mais comum.

Estrutura Básica

FAB_Estr

Espaçamentos

  1. horizontalMargin, como Margem Lateral
  2. verticalMargin, como Margem Inferior.

Átomos

  1. Átomo FAB, como Botão Flutuante

Prop-Token Mapping

Props da Molécula

PropTokenDefault ValueUse
horizontalMarginSpacingMarginal161
verticalMarginSpacingMarginal182
floatingButtonBaseProps--3

floatingButtonBaseProps

floatingButtonBasePropsTokenDefault Value
buttonColorColorPrimary#A94CC9
iconTintColorColorComplementary#FFFFFF

Reações

Conteúdo

O único conteúdo disponível nesta molécula é o ícone (inclusive este sendo obrigatório), então ela não se altera.

Responsividade

FAB_Resp

O Átomo não se altera em largura, e mantém-se ancorado no canto inferior direito da tela, independente do tamanho da tela. Não prevemos um caso em que o componente estoure na tela, por isso os tamanhos fixos. Salientamos que não é recomendado o uso deste componente em Smart Watches.

Estados

A molécula não apresenta variação de estados, estando disponível apenas o estado Enabled.

Tipos

A molécula apresentada até aqui é a variação Primary. Além dela existe uma variação Complementary:

Complementary

FAB_var

Ela tem exatamente a mesma função da molécula original, mas com menos destaque ou com uso em uma tela fundo Primary ou Dark.

Ela sofre a seguinte alteração de tokens:

floatingButtonBasePropsTokenDefault Value
buttonColorColorPrimary ⇒ ColorComplementary#FFFFFF
iconTintColorColorComplementary ⇒ ColorPrimary#A94CC9

Ela apresenta a mesma responsividade da molécula original, e também não apresenta variação de estados.

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