= ({ title, icon }) => {
return (
{icon ? : null}
{children}
}
/>
)
}
FeatureCard.schema = {
name: 'feature-card',
label: 'Feature Card',
getDefaultProps: () => ({
title: 'Fast setup',
}),
sideEditProps: [
{
name: 'icon',
label: 'Icon',
type: types.SideEditPropType.IconSelector,
iconSelectorOptions: {
iconSets: [types.IconSets.HeroIconOutline, types.IconSets.Feather],
},
},
],
}
```
## Restrict the available icon sets
With `iconSelectorOptions.iconSets`, you can limit which icon libraries are available to editors.
That is useful when:
- your design system only uses one icon family
- you want to keep the visual language consistent
- you want to reduce noisy search results
If you omit `iconSets`, all supported sets are available.
Some of the available icon sets are:
- `types.IconSets.Lucide`
- `types.IconSets.HeroIconSolid`
- `types.IconSets.HeroIconOutline`
- `types.IconSets.FontAwesome`
- `types.IconSets.Feather`
## Related reading
- [Use the Select control](/how-tos/sidebar-controls-in-depth/use-the-select-control)
- [Sidebar controls](https://docs.reactbricks.com/bricks/schema/side-edit-props/)