button example with block rendering