How do I insert this kind of button or the text with icon button to a page?
That one, you can do by adding custom CSS.
The hover effect you’re seeing is done by this:
.button {
border-radius: 4px;
box-shadow: 0 12px 20px -10px rgba(0, 0, 0, 0.3);
-webkit-transition: all 500ms ease-in-out !important;
transition: all 500ms ease-in-out !important;
}
.button:hover {
box-shadow: 0 30px 20px -20px rgba(0, 0, 0, 0.3);
-webkit-transform: translate3d(0, -4px, 0);
transform: translate3d(0, -4px, 0);
}
What this CSS does is, it adds the hover and shadow effect your seeing on all buttons that have a “button” as its css class.
To apply this effect to a button on your page, you simply add the class “button” to your button and you do that by adding it to the button’s block settings “CSS Classes” field on Gutenberg Editor.