本文へ移動
uiify

Card

Content container for headings, text, links, and actions.

ブラウザー
Chrome 123+Firefox 121+Safari 17.5+
ティア
0
圧縮後のサイズ
164 B
強制レイアウトの上限
0 ms
axe の上限
0
SSR 対応
はい
公開された契約
テストハーネス

プレイグラウンド

Card

使用例

API

Card

Prop型既定値説明
childrenReactNode—パーツの内容。
asElementType"div"Native element or component used for the root.
classNamestring—ルート要素に適用するクラス。
styleCSSProperties—Native root styles.
refRef<HTMLElement>—Ref forwarded to the rendered root element.
renderReactElement | ((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
このページは機械翻訳によるもので、レビューは未実施です。