blockmotion
Team (motion)
The team grid, with people appearing one after another as you scroll to it.
Open in v0 (opens in a new tab)
This is the animated version of Team. The static version looks the same with JavaScript turned off.
Preview
Installation
pnpm dlx shadcn@latest add https://facadeui.dev/r/team-motion.jsonThis component needs motion-primitives, team. The CLI installs them for you.
Usage
This is the code for the preview above. To install it as a file, run npx shadcn@latest add @facade/team-motion-demo.
"use client"
/**
* The `team` demo, with the motion variant swapped in.
*
* Identical props: the motion variant only changes which slot components
* the static section renders through.
*
* `"use client"` is required here, not incidental: the motion variant is a
* client component, and icon components cannot cross a server-to-client
* boundary as props. See the note on `IconComponent`.
*/
import { TeamMotion } from "@registry/sections/team-motion"
import { TEAM } from "./content"
export function Demo() {
return (
<TeamMotion
eyebrow="Team"
title="Who builds this"
description="Social links are named per person, so a links list does not show three identical 'LinkedIn' entries."
items={TEAM}
shape="circle"
/>
)
}Source
These are the files the CLI copies into your project.
"use client"
/**
* TeamMotion — the team grid with a staggered entrance.
*
* People arrive one after another as the grid scrolls in.
*
* A genuine wrapper: it renders the static `Team` and only swaps the list
* slots, so no markup, styling or accessibility behaviour is duplicated. *
* Dependencies: react, @/components/motion/slots,
* @/components/sections/team.
*/
import { StaggerList, StaggerListItem } from "@/components/motion/slots"
import { Team, type TeamProps } from "@/components/sections/team"
export type TeamMotionProps = Omit<TeamProps, "listAs" | "itemAs">
export function TeamMotion(props: TeamMotionProps) {
return <Team {...props} listAs={StaggerList} itemAs={StaggerListItem} />
}Props
TeamMotionProps
Extends Omit<TeamProps, "listAs" | "itemAs">.