Dock

A simple customizable Dock component with a variety of variants to choose from.

NOTE: This is a starting point for the Dock component. You can customize it according to your needs, we are adding more variants as you read this guide, so stay tuned for more updates.

Examples

Installation

npx shadcn@latest add "https://aurora-ui-opal.vercel.app/c/dock.json"

Component Props

You can customize the content of the Dock by passing the following props:

PropTypeDefaultDescription
childrenReactNode-Content to be displayed inside the Dock.
classNamestring-Additional class names to be applied to the Dock.
variantdefault | destructive | successdefaultVariant of the Dock.
sizedefault | sm | lg | icondefaultSize of the Dock.
...propsany-Additional props to be passed to the Dock.