# Button Button wraps Base UI's button primitive with the Tailwind classes from the official Base UI example. ::example{src="components/button/button.tsx"} ## Anatomy ### Base UI Style ```tsx import Button from "@/components/ui/button" ``` ### Shadcn Style ```tsx import { Button } from "@/components/ui/button" ``` ## Composition Use the following composition to build `Button`: ```txt Button ``` ## Examples These examples mirror the usage patterns documented by Base UI for Button. ### Rendering as another tag The button can remain keyboard accessible while being rendered as another tag, such as a `
`, by specifying `nativeButton={false}`. ```jsx import Button from "@/components/ui/button" ; ``` ### Rendering links as buttons The Button component enforces button semantics. `nativeButton={false}` signals that the rendered tag is not a `