{
    "componentChunkName": "component---src-layouts-rails-component-layout-tsx",
    "path": "/components/subhead/rails",
    "result": {"data":{"primerRailsVersion":{"version":"0.1.9"},"sitePage":{"path":"/components/subhead","context":{"frontmatter":{"title":"Subhead","description":"Use subhead as the start of a section.","reactId":null,"railsId":"Primer::Beta::Subhead","figmaId":null}}},"railsComponent":{"name":"Subhead","railsId":"Primer::Beta::Subhead","description":"Use `Subhead` as the start of a section. The `:heading` slot will render an `<h2>` font-sized text.\n\n- Optionally set the `:description` slot to render a short description and the `:actions` slot for a related action.\n- Use a succinct, one-line description for the `:description` slot. For longer descriptions, omit the description slot and render a paragraph below the `Subhead`.\n- Use the actions slot to render a related action to the right of the heading. Use {{#link_to_component}}Primer::ButtonComponent{{/link_to_component}} or {{#link_to_component}}Primer::Beta::Link{{/link_to_component}}.","status":"beta","a11y_reviewed":false,"short_name":"Subhead","is_form_component":false,"is_published":true,"props":[{"name":"spacious","type":"Boolean","description":"Whether to add spacing to the Subhead.","default":"`false`"},{"name":"hide_border","type":"Boolean","description":"Whether to hide the border under the heading.","default":"`false`"},{"name":"system_arguments","type":"Hash","description":"{{link_to_system_arguments_docs}}","default":"N/A"}],"slots":[{"description":"The heading","name":"heading","parameters":[{"default":"N/A","description":"One of `:div`, `:h1`, `:h2`, `:h3`, `:h4`, `:h5`, or `:h6`.","name":"tag","type":"Symbol"},{"default":"N/A","description":"Whether to style the heading as dangerous.","name":"danger","type":"Boolean"},{"default":"N/A","description":"{{link_to_system_arguments_docs}}","name":"system_arguments","type":"Hash"}]},{"description":"Actions","name":"actions","parameters":[{"default":"N/A","description":"{{link_to_system_arguments_docs}}","name":"system_arguments","type":"Hash"}]},{"description":"The description","name":"description","parameters":[{"default":"N/A","description":"{{link_to_system_arguments_docs}}","name":"system_arguments","type":"Hash"}]}],"methods":[],"previews":[{"name":"playground","preview_path":"primer/beta/subhead/playground"},{"name":"default","preview_path":"primer/beta/subhead/default"},{"name":"danger","preview_path":"primer/beta/subhead/danger"},{"name":"actions","preview_path":"primer/beta/subhead/actions"},{"name":"spacing_default","preview_path":"primer/beta/subhead/spacing_default"},{"name":"spacing_spacious","preview_path":"primer/beta/subhead/spacing_spacious"},{"name":"spacing_dangerous","preview_path":"primer/beta/subhead/spacing_dangerous"}],"subcomponents":[]}},"pageContext":{"componentId":"Primer::Beta::Subhead","parentPath":"/components/subhead"}},
    "staticQueryHashes": ["2468112454","2580293464","2745756513","2790671566","3907230164"]}