Features

Features is a component for displaying a grid of feature items with icons, descriptions, and optional images.

import { Features } from '@lobehub/ui/awesome';

Default

Themeable

Provides a simple way to customize default themes, you can change the colors, fonts, breakpoints and everything you need.

Fast

voids unnecessary styles props at runtime, making it more performant than other UI libraries.

Light & Dark UI

Automatic dark mode recognition, NextUI automatically changes the theme when detects HTML theme prop changes.

APIs

Features

PropertyDescriptionTypeDefault
itemsArray of feature items to displayFeatureItemType[]-
columnsNumber of columns in the gridnumber-
gapGap between grid itemsnumber | string-
maxWidthMaximum width of the contentnumber-
itemClassNameClass name for each feature itemstring-
itemStyleStyle for each feature itemCSSProperties-

FeatureItemType

PropertyDescriptionTypeDefault
titleTitle of the featurestring-
descriptionDescription of the featurestring-
iconIcon for the featureIconProps['icon']-
imageURL of the imagestring-
imageTypeType of image styling'light' | 'primary' | 'soon'-
imageStyleCustom style for the imageCSSProperties-
linkURL to navigate to when clickedstring-
openExternalWhether to open link in new tabboolean-
heroWhether this is a hero feature (larger)boolean-
columnCustom column spannumber-
rowCustom row spannumber-