Catalogo design-system layout/cards

← catalogo / layout/cards

Layout · Cards · Card edge to edge on mobile

TW-LA-CA-02 Tailwind Plus

tailwind/application-ui/layout/cards/02-card-edge-to-edge-on-mobile

Anteprima disegnata disponibile solo per la versione html: questa e' react, sotto c'e' il sorgente.

Sorgente (react)

export default function Example() {
  return (
    <>
      {/* Be sure to use this with a layout container that is full-width on mobile */}
      <div className="overflow-hidden bg-white shadow-sm sm:rounded-lg dark:bg-gray-800/50 dark:shadow-none dark:outline dark:-outline-offset-1 dark:outline-white/10">
        <div className="px-4 py-5 sm:p-6">{/* Content goes here */}</div>
      </div>
    </>
  )
}