Skip to main content

Starwind UI v1.10 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.

PropTypeDefaultDescription
variant"default" | "outline" | "muted""default"Visual style of the item
size"default" | "sm""default"Size and spacing of the item
asHTMLTag"div"The HTML element to render as

The component accepts all standard HTML attributes for the element specified by the as prop.

ItemContent

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

The component accepts all standard HTML attributes for <div> elements.

ItemTitle

A component for rendering the item title with appropriate styling.

The component accepts all standard HTML attributes for <div> elements.

ItemDescription

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

The component accepts all standard HTML attributes for <p> elements.

ItemActions

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

The component accepts all standard HTML attributes for <div> elements.

ItemMedia

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

PropTypeDefaultDescription
variant"default" | "icon" | "image""default"Style variant for the media container

The component accepts all standard HTML attributes for <div> elements.

ItemHeader

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

The component accepts all standard HTML attributes for <div> elements.

ItemFooter

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

The component accepts all standard HTML attributes for <div> elements.

ItemGroup

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

The component accepts all standard HTML attributes for <div> elements.

ItemSeparator

A separator component specifically designed for use within ItemGroup. Based on the Separator component.

PropTypeDefault
orientation"horizontal" | "vertical""horizontal"

The component accepts all standard Separator component props.

Changelog

v1.0.0

  • Initial release with starwind v1.10.0