Skip to content
  • Android
  • iOS
  • Web

Card

A Card component is a versatile UI element used to display content in a structured and visually appealing way. It typically contains related information, such as text, images, buttons, and other elements, within a bordered or shadowed container. Cards are often used for presenting individual items, like products, articles, or profiles, making the content easy to scan and interact with.

Live examples

Example.tsx

Attributes

NCard attributes
NameTypeDefaultDetails
classNamestringOptionalSupported Tailwind-style utilities, resolved entirely in Rust. See the engine README.
childrenReactNodeOptional
onClick(() => void)Optional
Engine reference for CardSet up engine components

Tags