# Course Card Action Slot ### Slot ID: `course_card_action_slot` ### Props: * `cardId` ## Description This slot is used for adding content in the Action buttons section of each Course Card. ## Example The following `env.config.jsx` will render the `cardId` of the course as `

` elements in a `

`. ![Screenshot of Content added after the Sequence Container](./images/post_course_card_action.png) ```js import { DIRECT_PLUGIN, PLUGIN_OPERATIONS } from '@openedx/frontend-plugin-framework'; import ActionButton from 'containers/CourseCard/components/CourseCardActions/ActionButton'; const config = { pluginSlots: { course_card_action_slot: { keepDefault: false, plugins: [ { // Insert Custom Button in Course Card op: PLUGIN_OPERATIONS.Insert, widget: { id: 'custom_course_card_action', priority: 60, type: DIRECT_PLUGIN, RenderWidget: ({cardId}) => ( Custom Button ), }, }, { // Insert Another Button in Course Card op: PLUGIN_OPERATIONS.Insert, widget: { id: 'another_custom_course_card_action', priority: 70, type: DIRECT_PLUGIN, RenderWidget: ({cardId}) => ( 📚: {cardId} ), }, }, ] } }, } export default config; ```