Navigational Card

The Navigational Card component is a navigation card component that displays a navigation card with customizable colors and styling.

Usage

Follow the steps below to add the Navigational Card Component to your project.

1

Add the import statement for the component

import { NavigationalCard } from "@/components/elixir-ui/navigational-card"; 

2

Import the component in your project and use it

<NavigationalCard
  title="Getting Started"
  href="#getting-started"
  description="Learn about Elixir UI"
  icon={<RocketIcon className="h-6 w-6" />}
  className="w-xs"
/>

Props

PropTypeDefaultDescription
titlestring-The title of the navigational card
hrefstring-The href of the navigational card
descriptionstring-The description of the navigational card
iconReact.ReactNode-The icon of the navigational card
classNamestring-Additional CSS classes