{
    "componentChunkName": "component---src-layouts-rails-component-layout-tsx",
    "path": "/components/icon-button/rails",
    "result": {"data":{"primerRailsVersion":{"version":"0.2.0"},"sitePage":{"path":"/components/icon-button","context":{"frontmatter":{"title":"Icon button","description":"Icon button is used for buttons that show an icon in place of a text label.","reactId":"icon_button","railsId":"Primer::Beta::IconButton","figmaId":null}}},"railsComponent":{"name":"IconButton","railsId":"Primer::Beta::IconButton","description":"Use `IconButton` to render Icon-only buttons without the default button styles.\n\n`IconButton` will always render with a tooltip unless the tag is `:summary`.\n`IconButton` will always render with a tooltip unless the tag is `:summary`.","status":"beta","a11y_reviewed":false,"short_name":"IconButton","is_form_component":false,"is_published":true,"props":[{"name":"icon","type":"String","description":"Name of {{link_to_octicons}} to use.","default":"N/A"},{"name":"wrapper_arguments","type":"Hash","description":"Optional keyword arguments to be passed to the wrapper `<div>` tag.","default":"`{}`"},{"name":"scheme","type":"Symbol","description":"One of `:danger`, `:default`, or `:invisible`.","default":"`:default`"},{"name":"size","type":"Symbol","description":"One of `:large`, `:medium`, or `:small`.","default":"`:medium`"},{"name":"tag","type":"Symbol","description":"One of `:a`, `:button`, or `:summary`.","default":"N/A"},{"name":"type","type":"Symbol","description":"One of `:button`, `:reset`, or `:submit`.","default":"N/A"},{"name":"aria-label","type":"String","description":"String that can be read by assistive technology. A label should be short and concise. See the accessibility section for more information.","default":"N/A"},{"name":"aria-description","type":"String","description":"String that can be read by assistive technology. A description can be longer as it is intended to provide more context and information. See the accessibility section for more information.","default":"N/A"},{"name":"show_tooltip","type":"Boolean","description":"Whether or not to show a tooltip when this button is hovered. Tooltips should only be hidden if the aria label is redundant, i.e. if the icon has a widely understood definition.","default":"`true`"},{"name":"tooltip_direction","type":"Symbol","description":"One of `:e`, `:n`, `:ne`, `:nw`, `:s`, `:se`, `:sw`, or `:w`.","default":"`:s`"},{"name":"system_arguments","type":"Hash","description":"{{link_to_system_arguments_docs}}","default":"N/A"}],"slots":[],"methods":[],"previews":[{"name":"playground","preview_path":"primer/beta/icon_button/playground"},{"name":"default","preview_path":"primer/beta/icon_button/default"},{"name":"invisible","preview_path":"primer/beta/icon_button/invisible"},{"name":"danger","preview_path":"primer/beta/icon_button/danger"}],"subcomponents":[]}},"pageContext":{"componentId":"Primer::Beta::IconButton","parentPath":"/components/icon-button"}},
    "staticQueryHashes": ["2468112454","2580293464","2745756513","2790671566","3907230164"]}