Skip to main content

Starwind UI v3.0 beta is now available! Read the migration guide

Basic Item

A simple item with title and description.

Your profile has been verified.

Installation

Framework Availability

Astro Available React Available

Item is available for Astro and React.

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

Default Size

Standard 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 Astro styled component. Standard HTML attributes remain available through the inherited interfaces noted below. 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 "default" | "sm" "default"
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.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