Button
Stone, grass and redstone buttons. Bevels flip when pressed, and every press clicks.
Install and use
The first command adds the component and the Mine theme, the second adds this example. Render <Mine> once near your root for the skin, sounds and narrator.
"use client"
import { Button } from "@/components/ui/button"
import { useLog } from "@/demos/log"
function Example() {
const log = useLog()
return <Button onClick={() => log("Pressed")}>Button</Button>
}
export { Example }