For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
0
Sponsor

Fragment List

A list wrapper with fragment-based reveal animations on each item.

  • First point
  • Second point
  • Third point

Installation

$ pnpm dlx shadcn@latest add @slidecn/fragment-list

Usage

import FragmentList from "@/components/slides/fragment-list";
 
function MyPresentation() {
  return (
    <Deck>
      <FragmentList
        as="ul"
        animation="fade-up"
        stagger
        items={[
          <span>First point</span>,
          <span>Second point</span>,
          <span>Third point</span>,
        ]}
      />
    </Deck>
  );
}

API Reference

FragmentList

PropTypeDefaultDescription
itemsReactNode[]requiredList items
as"ul" | "ol""ul"List type
animationFragmentAnimation"fade-up"Fragment animation
staggerbooleanfalseStagger indices