Skip to main content

Starwind UI v3.0 is now available! Migration guide

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

BB
Branden

Last seen 5 months ago

BB
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

Medium Size

The default padding and spacing for most use cases.

Small Size

Compact padding for dense layouts.

Group

CN
shadcn

The Chad CN

ML
Branden

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

Styled Component API

These props are added or materially changed by the installed styled component. Standard HTML attributes remain available through the inherited interfaces noted below. Expand a prop to see named type definitions and framework-specific imports. Follow the Primitive and Runtime links for lower-level behavior props.

Item

Inherits a attributes. Omits `type`.

Inherits div attributes.

Contains the following additional props:

Prop Type Default Toggle details
as keyof HTMLElementTagNameMap "div"
Description
Selects the rendered element or component.
Classification
Wrapper prop
size "sm" | "md" "md"
Description
Selects the component's visual size.
Classification
Styled variant
variant "default" | "outline" | "muted" "default"
Description
Selects the component's visual variant.
Classification
Styled variant

Item Media

Inherits div attributes.

Contains the following additional props:

Prop Type Default Toggle details
variant "default" | "icon" | "image" "default"
Description
Selects the component's visual variant.
Classification
Styled variant

Changelog

v1.2.1

  • Named the generated aggregate default export so React and Astro tooling can identify the installed component cleanly.

v1.2.0

  • Renamed the standard Item size from default to md. Omitting size keeps the same medium spacing.

v1.1.0

  • Added contract-generated Astro and React implementations while preserving the component’s existing public API and styling.

v1.0.3

  • Refactor tailwind variants functions into separate variants.ts file

v1.0.0

  • Initial release with starwind v1.10.0