Sanity Library Reference Docs
Preparing search index...
sanity
index
SlugDefinition
Interface SlugDefinition
interface
SlugDefinition
{
components
?:
SlugComponents
;
deprecated
?:
DeprecatedProperty
;
description
?:
string
|
Element
;
hidden
?:
ConditionalProperty
;
icon
?:
ReactNode
|
ComponentType
<
{}
>
;
initialValue
?:
InitialValueProperty
<
any
,
Omit
<
SlugValue
,
"_type"
>
>
;
name
:
string
;
options
?:
SlugOptions
;
readOnly
?:
ConditionalProperty
;
title
?:
string
;
type
:
"slug"
;
validation
?:
ValidationBuilder
<
SlugRule
,
SlugValue
>
;
}
Hierarchy (
View Summary
)
BaseSchemaDefinition
SlugDefinition
Index
Properties
components?
deprecated?
description?
hidden?
icon?
initial
Value?
name
options?
read
Only?
title?
type
validation?
Properties
Optional
Beta
components
components
?:
SlugComponents
Hidden
Optional
deprecated
deprecated
?:
DeprecatedProperty
Optional
description
description
?:
string
|
Element
Optional
hidden
hidden
?:
ConditionalProperty
Optional
icon
icon
?:
ReactNode
|
ComponentType
<
{}
>
Optional
initial
Value
initialValue
?:
InitialValueProperty
<
any
,
Omit
<
SlugValue
,
"_type"
>
>
name
name
:
string
Optional
options
options
?:
SlugOptions
Optional
read
Only
readOnly
?:
ConditionalProperty
Optional
title
title
?:
string
type
type
:
"slug"
Optional
validation
validation
?:
ValidationBuilder
<
SlugRule
,
SlugValue
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
components
deprecated
description
hidden
icon
initial
Value
name
options
read
Only
title
type
validation
Sanity Library Reference Docs
Loading...
Hidden