Release notes
A short summary of the latest product changes.
Read the release notesContent container for headings, text, links, and actions.
A short summary of the latest product changes.
Read the release notesChoose a semantic root and keep each link independently interactive.
import { Card } from "@gunkin/uiify";
export default function Example() {
return (
<Card as="article">
<h2>Project resources</h2>
<p>Choose a resource to continue.</p>
<a href="#overview">Overview</a>
<a href="#settings">Settings</a>
</Card>
);
}Card| Prop | Tipo | Predeterminado | Descripción |
|---|---|---|---|
children | ReactNode | — | Contenido de la parte. |
as | ElementType | "div" | Native element or component used for the root. |
className | string | — | Clase aplicada al elemento raíz. |
style | CSSProperties | — | Native root styles. |
ref | Ref<HTMLElement> | — | Ref forwarded to the rendered root element. |
render | ReactElement | ((props, state) => ReactElement) | — | Reemplaza el elemento renderizado y conserva las conexiones de comportamiento y accesibilidad. |
| Tecla | Acción |
|---|
Groups related content without adding a role, focus target, or click behavior. Choose a semantic element such as article when the content warrants it; keep links and actions independent.
data-uiify-card