eds-kg-learning-resources
Explore the Interactive Component
Use the playground below to experiment with the component. Click the button to view the full Storybook deployment for additional examples and configurations.
See It in Use with Code
The component fetches EBRAINS Knowledge Graph learning resources from api-endpoint (default /api/v1/kg/learning-resources/cached, served by the unified API) and lists them grouped by software.
Plain HTML
In React
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
apiEndpoint | api-endpoint | API endpoint for fetching learning resources | string | '/api/v1/kg/learning-resources/cached' |
heading | heading | Component heading | string | '' |
resolveNames | resolve-names | Whether to resolve software names | boolean | true |
size | size | Max resources to fetch | number | 500 |
variant | variant | Visual variant for accordions and cards | "default" | "inverse" | 'inverse' |
Dependencies
Depends on
Graph
graph TD; eds-kg-learning-resources --> eds-link eds-kg-learning-resources --> eds-tag eds-kg-learning-resources --> eds-spinner eds-kg-learning-resources --> eds-alert eds-kg-learning-resources --> eds-accordion eds-link --> eds-icon-wrapper eds-alert --> eds-icon-wrapper eds-alert --> eds-link eds-alert --> eds-button eds-button --> eds-icon-wrapper eds-accordion --> eds-icon-wrapper style eds-kg-learning-resources fill:#f9f,stroke:#333,stroke-width:4px
Built with StencilJS