get_block
Retrieve the source code for specific shadcn/ui v4 blocks, such as calendars or dashboards, with optional component files for complex blocks. Utilize this tool to streamline UI development.
Instructions
Get source code for a specific shadcn/ui v4 block (e.g., calendar-01, dashboard-01)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
blockName | Yes | Name of the block (e.g., "calendar-01", "dashboard-01", "login-02") | |
includeComponents | No | Whether to include component files for complex blocks (default: true) |
Input Schema (JSON Schema)
{
"properties": {
"blockName": {
"description": "Name of the block (e.g., \"calendar-01\", \"dashboard-01\", \"login-02\")",
"type": "string"
},
"includeComponents": {
"description": "Whether to include component files for complex blocks (default: true)",
"type": "boolean"
}
},
"required": [
"blockName"
],
"type": "object"
}