The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
import { User } from 'lucide-react'
import { Card, Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from 'ui'
const users = [
{
name: 'Feathers McGraw',
email: '[email protected]',
},
{
name: 'Piella Bakewell',
email: '[email protected]',
},
{
name: 'Wendolene Ramsbottom',
email: '[email protected]',
},
]
export default function TableIcons() {
return (
<Card className="w-full">
<Table>
<TableHeader>
<TableRow>
<TableHead className="w-1">
<span className="sr-only">Icon</span>
</TableHead>
<TableHead>Name</TableHead>
<TableHead>Email</TableHead>
</TableRow>
</TableHeader>
<TableBody>
{users.map((user) => (
<TableRow key={user.email}>
<TableCell className="w-1">
<User size={16} className="text-foreground-muted" />
</TableCell>
<TableCell>{user.name}</TableCell>
<TableCell className="text-foreground-lighter">{user.email}</TableCell>
</TableRow>
))}
</TableBody>
</Table>
</Card>
)
}