account

API Methods

setState

Attribute Names

data-state

Elements
    Properties
      Sizes
        SVG
        <img data-src="account.svg" class="iconic iconic-sm" alt="account">
        <img data-src="account.svg" class="iconic iconic-md" alt="account">
        <img data-src="account.svg" class="iconic iconic-lg" alt="account">
        
        Default Icon Font
        <span class="iconic iconic-sm" data-glyph="account-login" title="account login" aria-hidden="true"></span>
        <span class="iconic iconic-md" data-glyph="account-login" title="account login" aria-hidden="true"></span>
        <span class="iconic iconic-lg" data-glyph="account-login" title="account login" aria-hidden="true"></span>
        
        Bootstrap Icon Font
        <span class="iconic iconic-account-login iconic-sm" title="account login" aria-hidden="true"></span>
        <span class="iconic iconic-account-login iconic-md" title="account login" aria-hidden="true"></span>
        <span class="iconic iconic-account-login iconic-lg" title="account login" aria-hidden="true"></span>
        
        Foundation Icon Font
        <span class="fi-account-login iconic-sm" title="account login" aria-hidden="true"></span>
        <span class="fi-account-login iconic-md" title="account login" aria-hidden="true"></span>
        <span class="fi-account-login iconic-lg" title="account login" aria-hidden="true"></span>
        
        CSS

        Semantic SVG

        data-state

        Toggles between its sign-in and sign-out states

        • login

          <img data-state="login" data-src="account.svg" class="iconic" alt="account" />
          
        • logout

          <img data-state="logout" data-src="account.svg" class="iconic" alt="account" />
          
        Method name

        Options/Examples

        setState(state)

        login
        logout

        Icon Font

        Iconic may be all about SVG, but it also comes with a killer font. For the full skinny, read our icon font and Bootstrap/Foundation guides.

        <!-- Default -->
        <span class="iconic" data-glyph="account-login" title="account login" aria-hidden="true"></span>
        <!-- Bootstrap -->
        <span class="iconic iconic-account-login" title="account login" aria-hidden="true"></span>
        <!-- Foundation -->
        <span class="fi-account-login" title="account login" aria-hidden="true"></span>
        
        • account-login

        • account-logout

        was copied for yah