Fork me on GitHub
Attention: This component is still under progress and experimental.
b:number: The number tag renders an HTML input element of the type "text".
Tag attributes
HTML5 tag attributes
Tag controls
Adds f:ajax as child to component.

Change it and see JSF example.
component
tooltip

                            <!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:h="http://xmlns.jcp.org/jsf/html" 
      xmlns:f="http://xmlns.jcp.org/jsf/core" 
      xmlns:b="http://butterfaces.org/components"> 
<h:head /> 
<body>
    <h:form id="formId">
        <b:number id="input"
                  label="label"
                  hideLabel="false"
                  value="null"
                  placeholder="Enter number..."
                  min="null"
                  max="null"
                  step="null"
                  readonly="false"
                  required="false"
                  disabled="false"
                  autoFocus="false"
                  rendered="true">
            <b:tooltip>
                tooltip
            </b:tooltip>
        </b:number>
    </h:form> 
</body> 
</html>