Button
@arolariu/components / Button
Button
A button component that triggers actions.
Built with Base UI's canonical useRender + mergeProps composition pattern.
Remarks
Renders a native <button> by default. Use the render prop to compose the
button styles and shared behavior with other elements or components. The
deprecated asChild prop is still supported and internally converted to
render for backward compatibility.
Example
<Button variant="default" size="sm">Click me</Button>
<Button render={<a href="/dashboard" />}>Go to dashboard</Button>
See
Type Aliases
// was this page useful?