Skip to main content

Components Package Overview

@vef-framework-react/components is the package most directly used by page code. To avoid duplicating the entire Ant Design documentation surface, the reference pages are split into two groups:

  1. VEF-native or VEF-enhanced exports
  2. Ant Design pass-through exports

v2.1.6: Page, FlexCard, FormModal, FormDrawer, ProSearch, ProTable, Crud, CrudPage, and createCrudKit have moved from starter into this package.

How to Read This Section

Key VEF-Specific Capabilities

CapabilityMain ExportsTypical Use
Action controlsActionButton, ActionGroup, OperationButtonasync actions, confirmations, batch actions
Page layoutPage, FlexCardbusiness pages, tree-table layouts
Form containersFormModal, FormDrawercreate and edit forms in modal or drawer
CRUD stackCrud, CrudPage, createCrudKit, ProTable, ProSearchfull CRUD pages
Form systemuseForm, useFormContext, withForm, withFieldGroupcreate, edit, and search forms
Option adaptersuseDataOptionsSelect, useDataOptionsTreeSelect, useDataOptionsTreeselect, tree select, data dictionaries
Layout componentsGrid, Group, Stack, Center, ScrollAreaadmin-page forms, cards, tree-table layouts
Theme and feedbackConfigProvider, useThemeTokens, showSuccessMessagepage theme integration and unified feedback
Enhanced presentationCodeHighlighter, FlipText, SparklesText, TypingAnimationdocs, landing sections, richer display blocks
Permission renderingPermissionGatebutton, section, and card-level permission control