welcome to nuxt glorious

Button

A button component is trigger an action or can be a link


Example

Simple example for GButton

            
<GButton>Button</GButton>

        

config

config for global setting , set on nuxt.config

            
glorious:{
    components:{
        button:{
            props:{
                color:'green',
                size:'md',
                disabled:false,
                loading:false,
                outline:false,
            }
        }
    }
}

        

props

PropTypeDefault
colororange | blue | gray | red | primary | stringprimary
sizexl | lg | md | sm | xsmd
disabledbooleanfalse
loadingbooleanfalse
loadingColorstringorange | blue | gray | red | primary | string
tostring''
ariaLabelstring''
outlinebooleanfalse