{
    "componentChunkName": "component---src-layouts-rails-component-layout-tsx",
    "path": "/components/layout/rails",
    "result": {"data":{"primerRailsVersion":{"version":"0.1.9"},"sitePage":{"path":"/components/layout","context":{"frontmatter":{"title":"Layout","description":"Layout provides foundational patterns for responsive pages.","reactId":null,"railsId":"Primer::Alpha::Layout","figmaId":null}}},"railsComponent":{"name":"Layout","railsId":"Primer::Alpha::Layout","description":"`Layout` provides foundational patterns for responsive pages.\n`Layout` can be used for simple two-column pages, or it can be nested to provide flexible 3-column experiences.\n On smaller screens, `Layout` uses vertically stacked rows to display content.\n\n`Layout` flows as both column, when there's enough horizontal space to render both `Main` and `Sidebar`side-by-side (on a desktop of tablet device, per instance);\nor it flows as a row, when `Main` and `Sidebar` are stacked vertically (e.g. on a mobile device).\n`Layout` should always work in any screen size.","status":"alpha","a11y_reviewed":false,"short_name":"Layout","is_form_component":false,"is_published":true,"props":[{"name":"stacking_breakpoint","type":"Symbol","description":"When the `Layout` should change from rows into columns. One of `:lg`, `:md`, or `:sm`.","default":"`:md`"},{"name":"first_in_source","type":"Symbol","description":"Which element to render first in the HTML. This will change the keyboard navigation order. One of `:main` or `:sidebar`.","default":"`:sidebar`"},{"name":"gutter","type":"Symbol","description":"The amount of space between the main section and the sidebar. One of `:condensed`, `:default`, `:none`, or `:spacious`.","default":"`:default`"},{"name":"system_arguments","type":"Hash","description":"{{link_to_system_arguments_docs}}","default":"N/A"}],"slots":[{"description":"The layout's main content.","name":"main","parameters":[{"default":"N/A","description":"One of `:full`, `:lg`, `:md`, or `:xl`.","name":"width","type":"Symbol"},{"default":"N/A","description":"{{link_to_system_arguments_docs}}","name":"system_arguments","type":"Hash"}]},{"description":"The layout's sidebar.","name":"sidebar","parameters":[{"default":"N/A","description":"One of `:default`, `:narrow`, or `:wide`.","name":"width","type":"Symbol"},{"default":"N/A","description":"Sidebar placement when `Layout` is in column modes. One of `:end` or `:start`.","name":"col_placement","type":"Symbol"},{"default":"N/A","description":"Sidebar placement when `Layout` is in row mode. One of `:end`, `:none`, or `:start`.","name":"row_placement","type":"Symbol"},{"default":"N/A","description":"{{link_to_system_arguments_docs}}","name":"system_arguments","type":"Hash"}]}],"methods":[],"previews":[{"name":"playground","preview_path":"primer/alpha/layout/playground"},{"name":"default","preview_path":"primer/alpha/layout/default"},{"name":"gutter_none","preview_path":"primer/alpha/layout/gutter_none"},{"name":"gutter_condensed","preview_path":"primer/alpha/layout/gutter_condensed"},{"name":"gutter_default","preview_path":"primer/alpha/layout/gutter_default"},{"name":"gutter_spacious","preview_path":"primer/alpha/layout/gutter_spacious"},{"name":"main_width_md","preview_path":"primer/alpha/layout/main_width_md"},{"name":"main_width_lg","preview_path":"primer/alpha/layout/main_width_lg"},{"name":"main_width_xl","preview_path":"primer/alpha/layout/main_width_xl"},{"name":"main_width_full","preview_path":"primer/alpha/layout/main_width_full"},{"name":"sidebar_width_narrow","preview_path":"primer/alpha/layout/sidebar_width_narrow"},{"name":"sidebar_width_default","preview_path":"primer/alpha/layout/sidebar_width_default"},{"name":"sidebar_width_wide","preview_path":"primer/alpha/layout/sidebar_width_wide"},{"name":"sidebar_col_placement_start","preview_path":"primer/alpha/layout/sidebar_col_placement_start"},{"name":"sidebar_col_placement_end","preview_path":"primer/alpha/layout/sidebar_col_placement_end"},{"name":"sidebar_row_placement_start","preview_path":"primer/alpha/layout/sidebar_row_placement_start"},{"name":"sidebar_row_placement_end","preview_path":"primer/alpha/layout/sidebar_row_placement_end"},{"name":"sidebar_row_placement_none","preview_path":"primer/alpha/layout/sidebar_row_placement_none"},{"name":"stacking_breakpoint_sm","preview_path":"primer/alpha/layout/stacking_breakpoint_sm"},{"name":"stacking_breakpoint_md","preview_path":"primer/alpha/layout/stacking_breakpoint_md"},{"name":"stacking_breakpoint_lg","preview_path":"primer/alpha/layout/stacking_breakpoint_lg"}],"subcomponents":[{"name":"Layout::Sidebar","railsId":"Primer::Alpha::Layout::Sidebar","description":"The layout's sidebar content.","status":"alpha","a11y_reviewed":false,"short_name":"LayoutSidebar","props":[],"slots":[],"methods":[]},{"name":"Layout::Main","railsId":"Primer::Alpha::Layout::Main","description":"The layout's main content.","status":"alpha","a11y_reviewed":false,"short_name":"LayoutMain","props":[{"name":"width","type":"Symbol","description":"One of `:full`, `:lg`, `:md`, or `:xl`.","default":"`:full`"},{"name":"system_arguments","type":"Hash","description":"{{link_to_system_arguments_docs}}","default":"N/A"}],"slots":[],"methods":[]}]}},"pageContext":{"componentId":"Primer::Alpha::Layout","parentPath":"/components/layout"}},
    "staticQueryHashes": ["2468112454","2580293464","2745756513","2790671566","3907230164"]}