Open this example in the interactive library
Live preview
Source code
// components/ProfileIdentityLine.tsx
export default function ProfileIdentityLine({
name = "Mira Bell",
role = "Editor",
}: { name?: string; role?: string } = {}) {
return (
<header>
<strong>{name}</strong> <small>{role}</small>
</header>
);
}
