list-grid
Primitivas de interfaz Las formas que un componente no puede ser, porque envuelven un cuerpo que solo conoce quien llama: tarjetas, rejillas de datos, menús y el armazón propio de los contenedores.
El vocabulario real de las tablas de datos: la tarjeta define sus columnas una vez y las filas solo eligen celdas.
Cada ejemplo funciona de verdad, pero sus enlaces no llevan a ninguna parte. HTML muestra el marcado para copiar.
<div rst-box-head >
<h2 id ="orders-title" >Pedidos</h2 >
</div >
<div rst-card role ="table" aria-labelledby ="orders-title" style ="--rst-cols: 2fr 110px var(--rst-col-menu)" >
<div rst-lrow ="head" role ="row" >
<span role ="columnheader" >Pedido</span >
<span class ="rst-m-hide" role ="columnheader" >Estado</span >
<span role ="columnheader" ><span class ="rst-sr-only" >Acciones</span ></span >
</div >
<div rst-lrow role ="row" >
<span role ="rowheader" ><a class ="rst-nm" href ="/orders/AB3PX" ><bdi >Grace Hopper</bdi >
<small >AB3PX · <bdi >grace@example.com</bdi ></small >
</a ></span >
<span class ="rst-m-hide rst-cell-mut" role ="cell" >Pagado</span >
<span role ="cell" >
<details rst-row-menu name ="rst-menus" >
<summary aria-label ="Acciones para Grace Hopper" >
<svg class ="icon" viewBox ="0 0 24 24" fill ="none" stroke ="currentColor" stroke-width ="2" stroke-linecap ="round" stroke-linejoin ="round" aria-hidden ="true" ><circle cx ="12" cy ="12" r ="1" /><circle cx ="12" cy ="5" r ="1" /><circle cx ="12" cy ="19" r ="1" /></svg >
</summary >
<div rst-row-menu-panel >
<a href ="/orders/AB3PX" >Ver</a >
<hr >
<a class ="rst-danger" href ="/orders/AB3PX/refund" >Reembolsar pedido…</a >
</div >
</details >
</span >
</div >
<p rst-no-match role ="row" >
<span role ="cell" aria-colspan ="3" >Ningún pedido coincide. <a href ="/orders" >Quitar los filtros</a ></span >
</p >
</div >
<p rst-count-line >Mostrando <strong >1–20</strong > de <strong >412</strong ></p >
En una aplicación, esto llegaría a /orders, /orders/AB3PX, /orders/AB3PX/refund. Aquí sus enlaces y formularios no llevan a ninguna parte.