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

ATLSwitchButton

switchbutton_exemplo

DESCRIÇÃO

Esta molécula foi desenhado para conter uma ação imediata e binária, ligado e desligado.

ANATOMIA

switchbutton_anatomia

SPECS

switchbutton_specs

Átomos

  • Atom Icon , como Leading Icon

  • Atom Label , como Texto

  • Atom Switch , como Switch

COMPORTAMENTO

Conteúdo

switchbutton_conteudo

Caso o conteúdo do texto ocupe mais de uma linha, este se quebra, empurrando a Margem Inferior, exibindo todo o conteúdo e mantendo o Leading Icon e o Switch nas mesmas posições iniciais.

Responsividade

switchbutton_responsividade

Quando se reduz o tamanho da tela, a molécula se adapta empurrando o conteúdo para baixo, se necessário.

Estado

switchbutton_estado

Essa molécula possui dois estados, habilitado e desabilitado, Enable e Disable. Em Disable o token de cor se torna o MediumContrast, já o estado Enable são os token descritos anteriormente.

Interação

A interação com essa molécula se dá ao tocar nela como um todo, saindo do estado inicial, Enabled, para o estado contrário, Disabled.

VARIAÇÕES

switchbutton_variacoes

Essa molécula possui apenas a variação sem a presença de Leading Icon. Para obter essa variação é preciso trocar o symbol para o ATLSwitchButton_NoIcon.

APLICAÇÃO

switchbutton_aplicacao

← SurveyPostATLTextBody →
  • DESCRIÇÃO
  • ANATOMIA
  • SPECS
    • Átomos
  • COMPORTAMENTO
    • Conteúdo
    • Responsividade
    • Estado
    • Interação
  • VARIAÇÕES
  • APLICAÇÃO
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