@project-jade-garden/bits-ui
Version:
Bits UI anatomy slots for headless design
24 lines (23 loc) • 850 B
text/typescript
import { SVATraits } from 'jade-garden';
/**
* **Avatar**
* @description Represents a user or entity with a recognizable image or placeholder in UI elements.
* @see [source](https://www.bits-ui.com/docs/components/avatar#api-reference)
*/
export declare const slots: readonly ["root", "image", "fallback"];
/**
* **Avatar**
* @description Represents a user or entity with a recognizable image or placeholder in UI elements.
* @see [source](https://www.bits-ui.com/docs/components/avatar#api-reference)
*/
export type Slots = (typeof slots)[number];
/**
* **Avatar**
* @description Represents a user or entity with a recognizable image or placeholder in UI elements.
* @see [source](https://www.bits-ui.com/docs/components/avatar#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {};
image: {};
fallback: {};
}>;