Props
| Prop | Type | Default | Description |
|---|
value | 'sm' | 'md' | 'lg' | null | null | The default size provided to descendants. null provides nothing, so children use their own default. |
Slots
| Slot | Description |
|---|
default | The subtree that reads this default size. |
Other exports
| Export | Type | Description |
|---|
useSize | (sizeProp, default = 'md') => ComputedRef | Resolves the final size: explicit prop > context > default. |
provideSize | (size) => void | Provides a size from setup; used inside container components. |
SizeContext | injection key | The underlying context key. |
ElementSize | 'sm' | 'md' | 'lg' | The size type. |
Native attributes
The component renders no element, so class and style are not forwarded.