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| Свойство | Тип | По умолчанию | Описание |
|---|---|---|---|
children | ReactNode | — | Содержимое части. |
as | ElementType | "div" | Native element or component used for the root. |
className | string | — | Класс корневого элемента. |
style | CSSProperties | — | Native root styles. |
ref | Ref<HTMLElement> | — | Ref forwarded to the rendered root element. |
render | ReactElement | ((props, state) => ReactElement) | — | Заменяет отображаемый элемент, сохраняя поведение и связи доступности. |
| Клавиша | Действие |
|---|
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