Resources / Code snippets

Code snippets

The entry points the package publishes, and the shapes that come up across components rather than inside one. Reach for this when you know what you are building and want the import line or the composition rather than a component's own page.

On this page

ImportContents
@growth-protocol-ai/alphaEvery component, its prop types and its variants function, plus cn() — no icons
@growth-protocol-ai/alpha/accordionAccordion, its parts, its variants function and its prop types
@growth-protocol-ai/alpha/buttonButton, its variants function and its prop types
@growth-protocol-ai/alpha/canvasCanvas and its prop types — the arrangement, composed and narrowed
@growth-protocol-ai/alpha/cardCard, its parts, its variants function and its prop types
@growth-protocol-ai/alpha/checkboxCheckbox, its variants function and its prop types
@growth-protocol-ai/alpha/confirmation-modalConfirmationModal and its prop types — the arrangement, composed and narrowed
@growth-protocol-ai/alpha/dropdownDropdown, its variants function and its prop types
@growth-protocol-ai/alpha/empty-stateEmptyState, its parts, its variants function and its prop types
@growth-protocol-ai/alpha/error-viewErrorView and its prop types — the arrangement, composed and narrowed
@growth-protocol-ai/alpha/iconsEvery icon component, the IconName union and AlphaIcon
@growth-protocol-ai/alpha/llms-full.txtThe same documentation inline, for a tool that cannot follow links
@growth-protocol-ai/alpha/llms.txtThe agent-context index the LLM context page describes
@growth-protocol-ai/alpha/markdownMarkdown, its variants function and its prop types
@growth-protocol-ai/alpha/modalModal, its parts, its variants function and its prop types
@growth-protocol-ai/alpha/paginationPagination, its variants function and its prop types
@growth-protocol-ai/alpha/popoverPopover, its variants function and its prop types
@growth-protocol-ai/alpha/radioRadio, its variants function and its prop types
@growth-protocol-ai/alpha/registryCOMPONENT_REGISTRY, MODULE_REGISTRY and iconMeta — runtime-pure, so it is safe on a server
@growth-protocol-ai/alpha/searchSearch, its variants function and its prop types
@growth-protocol-ai/alpha/skeletonSkeleton, its variants function and its prop types
@growth-protocol-ai/alpha/spinnerSpinner, its variants function and its prop types
@growth-protocol-ai/alpha/styles.cssThe compiled stylesheet: tokens and every component
@growth-protocol-ai/alpha/tabsTabs, its parts, its variants function and its prop types
@growth-protocol-ai/alpha/tagTag, its variants function and its prop types
@growth-protocol-ai/alpha/text-areaTextArea, its variants function and its prop types
@growth-protocol-ai/alpha/text-inputTextInput, its variants function and its prop types
@growth-protocol-ai/alpha/toggleToggle, its variants function and its prop types
@growth-protocol-ai/alpha/tokens.cssThe design tokens alone
@growth-protocol-ai/alpha/tooltipTooltip, its variants function and its prop types

Read from the package's own exports map, so this is what the installed version actually resolves. There is no wildcard subpath, and nothing under @growth-protocol-ai/alpha/dist/… is public.