Skip to main content

Starwind UI v1.12 is now available!

Item

Basic Item

A simple item with title and description.

Your profile has been verified.

Installation

Usage

Icon

Security Alert

New login detected from unknown device.

Avatar

@BowTiedWebReapr
WR
Web Reaper

Last seen 5 months ago

@BowTiedWebReapr
WR
No Team Members

Invite your team to collaborate on this project.

Image

variant

Default Variant

Standard styling with subtle background and borders.

Outline Variant

Outlined style with clear borders and transparent background.

Muted Variant

Subdued appearance with muted colors for secondary content.

size

Default Size

Standard padding and spacing for most use cases.

Small Size

Compact padding for dense layouts.

Group

@shadcn
CN
shadcn

The Chad CN

@boston343
ML
Web Reaper

Creator of Starwind UI

v0-1.5-sm
v0-1.5-sm

Everyday tasks and UI generation.

v0-1.5-lg
v0-1.5-lg

Advanced thinking or reasoning.

v0-2.0-mini
v0-2.0-mini

Open Source model for everyone.

API Reference

Item

The root component that serves as a container for item content. It provides a flexible layout with support for different visual variants and sizes.

PropTypeDefault
variant"default" | "outline" | "muted""default"
size"default" | "sm""default"
asHTMLTag"div"
classstring-
<Item variant="outline" size="default">
<!-- Item content -->
</Item>

Additional Notes:

  • as: The HTML element to render as (e.g., “a”, “button”)

ItemContent

A component for rendering the main content area of the item. Automatically grows to fill available space.

PropTypeDefault
classstring-
<ItemContent>
<ItemTitle>Title</ItemTitle>
<ItemDescription>Description</ItemDescription>
</ItemContent>

ItemTitle

A component for rendering the item title with appropriate styling.

PropTypeDefault
classstring-
<ItemTitle>Item Title</ItemTitle>

ItemDescription

A component for rendering the item description with muted styling and automatic text clamping.

PropTypeDefault
classstring-
<ItemDescription>Item description text.</ItemDescription>

ItemActions

A component for rendering action buttons or icons on the right side of the item.

PropTypeDefault
classstring-
<ItemActions>
<Button size="sm">Action</Button>
</ItemActions>

ItemMedia

A component for rendering media content (icons, images, or custom content) on the left side of the item.

PropTypeDefault
variant"default" | "icon" | "image""default"
classstring-
<ItemMedia variant="icon">
<Icon />
</ItemMedia>

ItemHeader

A component for rendering content above the main item content (e.g., timestamps, metadata).

PropTypeDefault
classstring-
<ItemHeader>
<!-- Header content -->
</ItemHeader>

ItemFooter

A component for rendering content below the main item content (e.g., additional actions, metadata).

PropTypeDefault
classstring-
<ItemFooter>
<!-- Footer content -->
</ItemFooter>

ItemGroup

A container component for grouping multiple items together with semantic list markup.

PropTypeDefault
classstring-
<ItemGroup>
<!-- Multiple Item components -->
</ItemGroup>

ItemSeparator

A separator component specifically designed for use within ItemGroup.

PropTypeDefault
orientation"horizontal" | "vertical""horizontal"
classstring-
<ItemSeparator />

Changelog

v1.0.0

  • Initial release with starwind v1.10.0