Skip to main content
Neighborhood Design System v5.1.0

Carousel Item

Draft

A carousel item component that displays individual slides within a carousel container, supporting content-based layouts and navigation.

Draft. This component is in draft. Its API may change before it is marked Ready. What this means

Code

Install
npm install @fbin-web/neighborhood-core
Import
import { NbhdCarouselItem } from '@fbin-web/neighborhood-core';
Usage
<nbhd-carousel-item>
  <nbhd-flex surface="secondary">
    <nbhd-text
      tag="h2"
      variant="title"
      >Slide 1</nbhd-text
    >
    <nbhd-text tag="p">This is the first slide.</nbhd-text>
    <nbhd-link
      href="go-to-this-link-1"
      aria-label="Learn more about Slide 1"
      >Learn More</nbhd-link
    >
  </nbhd-flex>
</nbhd-carousel-item>

Slots

NameDescription
(default)The slide content passed through the carousel item wrapper.

Dependencies

Used by

Esc
↑ ↓ to move↵ to open