# clanbite_get_component()

One component definition.

```php
clanbite_get_component( string $slug ): ?array
```

## Parameters

- `$slug` (string) Component slug.

## Return

`array<string, mixed>|null` The definition, or null when it is not registered.

## Changelog

| Version | Description |
| --- | --- |
| 1.6.3 | Introduced |
