---
url: /reference/@cssdoc/core/interfaces/CssPropertyDeclared.md
---
# Interface: CssPropertyDeclared

Defined in: [packages/core/src/model.ts:137](https://github.com/thedannywahl/cssdoc/blob/main/packages/core/src/model.ts#L137)

A custom property the component declares (`@property`) or documents (`@cssproperty`).

## Properties

### defaultValue?

```ts
optional defaultValue?: string;
```

Defined in: [packages/core/src/model.ts:145](https://github.com/thedannywahl/cssdoc/blob/main/packages/core/src/model.ts#L145)

The default value (`@property` `initial-value`, or an authored `@defaultValue`), when known.

***

### description?

```ts
optional description?: string;
```

Defined in: [packages/core/src/model.ts:147](https://github.com/thedannywahl/cssdoc/blob/main/packages/core/src/model.ts#L147)

Prose from a `@cssproperty` doc tag, when authored.

***

### inherits?

```ts
optional inherits?: boolean;
```

Defined in: [packages/core/src/model.ts:143](https://github.com/thedannywahl/cssdoc/blob/main/packages/core/src/model.ts#L143)

The `@property` `inherits` flag, when declared.

***

### name

```ts
name: string;
```

Defined in: [packages/core/src/model.ts:139](https://github.com/thedannywahl/cssdoc/blob/main/packages/core/src/model.ts#L139)

The custom-property name, e.g. `--value`.

***

### syntax?

```ts
optional syntax?: string;
```

Defined in: [packages/core/src/model.ts:141](https://github.com/thedannywahl/cssdoc/blob/main/packages/core/src/model.ts#L141)

The `@property` `syntax` descriptor, e.g. `<number>`, when known.
