# Component libraries

With useLib, you can get all/part of the style from the pre-defined styleLib to load into the current page for use.

export default const styleLib = setStyleLib({
    Button: {
        width: 30,
    }
})
import { useStyle,useStyleLib } from "lazycss-base"
import demoLib from "./demoLib"
//use lib
useLib(demoLib);
//use single component
useLib(demoLib.Button);
let style = useStyle({
    //other style list
});

namespace not be used now.

'part style' functionality has not yet been implemented.